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

Inheritance: IExpressionMatcher
Show file Open project: ngs-doo/revenj

Public Methods

Method Description
TryMatch ( Expression expression, StringBuilder queryBuilder, Action visitExpression, Revenj.DatabasePersistence.Postgres.QueryGeneration.QueryComposition.QueryContext context, IPostgresConverterFactory converter ) : bool

Private Methods

Method Description
InitDictionary ( ) : MethodCallDelegate>.Dictionary
MatchDecimalRound ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
MatchDoubleRound ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
MatchMax ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
MatchMin ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
MatchSimpleDouble ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void
MatchSimpleMethod ( MethodCallExpression methodCall, StringBuilder queryBuilder, Action visitExpression ) : void

Method Details

TryMatch() public method

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