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

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
CheckIfNull ( Expression exp ) : bool
ChooseComparison ( MethodCallExpression methodCall, StringBuilder queryBuilder ) : void
EscapeForLike ( Expression exp, StringBuilder queryBuilder, Action visitExpression ) : void
IsNullOrEmpty ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
IsNullOrWhiteSpace ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
MatchStringContains ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
MatchStringEndsWith ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
MatchStringEquals ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
MatchStringStartsWith ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
MatchStringToLower ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
MatchStringToUpper ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
ReplaceString ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
StringMethods ( ) : System
StringToDecimal ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
StringToDouble ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
StringToFloat ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
StringToGuid ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
StringToInt ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
StringToLong ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
SubstringFrom ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
SubstringFromTo ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
ValueToString ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
WithFormat ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
WithFormatArray ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void

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