C# Class Shaolinq.Persistence.Linq.Optimizers.SqlFunctionCoalescer

An optimizer that turns nested SQL function calls into a single function call (if possible) function call.
For example: CONCAT(CONCAT(X, Y), Z) => CONCAT(X, Y, Z)
Inheritance: Shaolinq.Persistence.Linq.Expressions.SqlExpressionVisitor
Afficher le fichier Open project: tumtumtum/Shaolinq Class Usage Examples

Méthodes publiques

Méthode Description
Coalesce ( Expression expression ) : Expression

Méthodes protégées

Méthode Description
VisitFunctionCall ( SqlFunctionCallExpression functionCallExpression ) : Expression

Private Methods

Méthode Description
SqlFunctionCoalescer ( ) : System.Collections.Generic

Method Details

Coalesce() public static méthode

public static Coalesce ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
Résultat System.Linq.Expressions.Expression

VisitFunctionCall() protected méthode

protected VisitFunctionCall ( SqlFunctionCallExpression functionCallExpression ) : Expression
functionCallExpression Shaolinq.Persistence.Linq.Expressions.SqlFunctionCallExpression
Résultat System.Linq.Expressions.Expression