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

Inheritance: SqlExpressionVisitor
Afficher le fichier Open project: tumtumtum/Shaolinq

Méthodes publiques

Méthode Description
Expand ( Expression expression ) : Expression

Méthodes protégées

Méthode Description
RewriteExplicitJoinProjection ( MethodCallExpression methodCallExpression ) : Expression

Translates Joins from type (1) to type (2) 1) Join(outer, inner, c => c.outerKey, c => d.innerKey, (x, y) => new { x.a.b.c, y.a.b.c }) 2) Join(outer, inner, c => c.outerKey, c => d.innerKey, (x, y) => new { x, y }).Select(c => new { c.x.a.b.c, c.y.a.b.v })

RewriteSelectManyProjection ( MethodCallExpression methodCallExpression ) : Expression
VisitMethodCall ( MethodCallExpression methodCallExpression ) : Expression

Method Details

Expand() public static méthode

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

RewriteExplicitJoinProjection() protected méthode

Translates Joins from type (1) to type (2) 1) Join(outer, inner, c => c.outerKey, c => d.innerKey, (x, y) => new { x.a.b.c, y.a.b.c }) 2) Join(outer, inner, c => c.outerKey, c => d.innerKey, (x, y) => new { x, y }).Select(c => new { c.x.a.b.c, c.y.a.b.v })
protected RewriteExplicitJoinProjection ( MethodCallExpression methodCallExpression ) : Expression
methodCallExpression System.Linq.Expressions.MethodCallExpression
Résultat System.Linq.Expressions.Expression

RewriteSelectManyProjection() protected méthode

protected RewriteSelectManyProjection ( MethodCallExpression methodCallExpression ) : Expression
methodCallExpression System.Linq.Expressions.MethodCallExpression
Résultat System.Linq.Expressions.Expression

VisitMethodCall() protected méthode

protected VisitMethodCall ( MethodCallExpression methodCallExpression ) : Expression
methodCallExpression System.Linq.Expressions.MethodCallExpression
Résultat System.Linq.Expressions.Expression