C# 클래스 Marten.Linq.Parsing.StringComparisonParser

상속: IMethodCallParser
파일 보기 프로젝트 열기: JasperFx/marten

공개 메소드들

메소드 설명
FormatValue ( MethodInfo method, string value ) : string

Formats the string value as appropriate for the comparison.

Matches ( MethodCallExpression expression ) : bool
Parse ( IQueryableDocument mapping, ISerializer serializer, MethodCallExpression expression ) : IWhereFragment
StringComparisonParser ( ) : System

보호된 메소드들

메소드 설명
AreMethodsEqual ( MethodInfo method1, MethodInfo method2 ) : bool
GetLocator ( IQueryableDocument mapping, MethodCallExpression expression ) : string

Returns a locator for the member being queried upon

GetOperator ( MethodCallExpression expression ) : string

Returns the operator to emit (e.g. LIKE/ILIKE).

IsCaseInsensitiveComparison ( MethodCallExpression expression ) : bool

메소드 상세

AreMethodsEqual() 보호된 메소드

protected AreMethodsEqual ( MethodInfo method1, MethodInfo method2 ) : bool
method1 System.Reflection.MethodInfo
method2 System.Reflection.MethodInfo
리턴 bool

FormatValue() 공개 추상적인 메소드

Formats the string value as appropriate for the comparison.
public abstract FormatValue ( MethodInfo method, string value ) : string
method System.Reflection.MethodInfo
value string
리턴 string

GetLocator() 보호된 메소드

Returns a locator for the member being queried upon
protected GetLocator ( IQueryableDocument mapping, MethodCallExpression expression ) : string
mapping IQueryableDocument
expression System.Linq.Expressions.MethodCallExpression
리턴 string

GetOperator() 보호된 메소드

Returns the operator to emit (e.g. LIKE/ILIKE).
protected GetOperator ( MethodCallExpression expression ) : string
expression System.Linq.Expressions.MethodCallExpression
리턴 string

IsCaseInsensitiveComparison() 보호된 메소드

protected IsCaseInsensitiveComparison ( MethodCallExpression expression ) : bool
expression System.Linq.Expressions.MethodCallExpression
리턴 bool

Matches() 공개 메소드

public Matches ( MethodCallExpression expression ) : bool
expression System.Linq.Expressions.MethodCallExpression
리턴 bool

Parse() 공개 메소드

public Parse ( IQueryableDocument mapping, ISerializer serializer, MethodCallExpression expression ) : IWhereFragment
mapping IQueryableDocument
serializer ISerializer
expression System.Linq.Expressions.MethodCallExpression
리턴 IWhereFragment

StringComparisonParser() 공개 메소드

public StringComparisonParser ( ) : System
리턴 System