C# Class Revenj.DatabasePersistence.Postgres.Plugins.ExpressionSupport.LikeStringComparison

Inheritance: IExpressionMatcher
Mostrar archivo Open project: ngs-doo/revenj

Public Methods

Method Description
TryMatch ( Expression expression, StringBuilder queryBuilder, Action visitExpression, QueryContext context, IPostgresConverterFactory converter ) : bool

Private Methods

Method Description
CompareString ( bool equal, MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : bool
EscapeForLike ( Expression exp, StringBuilder queryBuilder, Action visitExpression ) : void
GuardForNull ( bool equal, Expression exp, StringBuilder queryBuilder, Action visitExpression ) : bool

Method Details

TryMatch() public method

public TryMatch ( Expression expression, StringBuilder queryBuilder, Action visitExpression, QueryContext context, IPostgresConverterFactory converter ) : bool
expression System.Linq.Expressions.Expression
queryBuilder StringBuilder
visitExpression Action
context QueryContext
converter IPostgresConverterFactory
return bool