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

Inheritance: IExpressionMatcher
Show file 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