C# Class Shaolinq.Persistence.Linq.RelatedPropertiesJoinExpander

Inheritance: SqlExpressionVisitor
Afficher le fichier Open project: tumtumtum/Shaolinq Class Usage Examples

Méthodes publiques

Méthode Description
Expand ( DataAccessModel model, Expression expression ) : RelatedPropertiesJoinExpanderResults

Méthodes protégées

Méthode Description
RewriteBasicProjection ( MethodCallExpression methodCallExpression, bool forSelector ) : Expression
RewriteBasicProjection ( Expression originalSource, ParameterExpression>.Tuple originalSelectors, bool forProjection ) : RewriteBasicProjectionResults
VisitMethodCall ( MethodCallExpression methodCallExpression ) : Expression

Private Methods

Méthode Description
CreateExpressionForPath ( int currentIndex, Shaolinq.Persistence.Linq.ObjectPath targetPath, System.Linq.Expressions.ParameterExpression parameterExpression, int>.Dictionary indexByPath ) : Expression
CreateFinalTupleType ( Type previousType, IEnumerable types ) : Type
MakeJoinCallExpression ( int index, Expression left, Expression right, Shaolinq.Persistence.Linq.ObjectPath targetPath, int>.Dictionary indexByPath, Expression>.Dictionary rootExpressionsByPath, Expression sourceParameterExpression ) : MethodCallExpression
MakeJoinProjector ( Type leftType, Type rightType ) : LambdaExpression
RelatedPropertiesJoinExpander ( DataAccessModel model ) : System
Reselect ( MethodCallExpression methodCall, List referencedObjectPaths, int>.Dictionary indexByPath ) : Expression

Method Details

Expand() public static méthode

public static Expand ( DataAccessModel model, Expression expression ) : RelatedPropertiesJoinExpanderResults
model DataAccessModel
expression System.Linq.Expressions.Expression
Résultat RelatedPropertiesJoinExpanderResults

RewriteBasicProjection() protected méthode

protected RewriteBasicProjection ( MethodCallExpression methodCallExpression, bool forSelector ) : Expression
methodCallExpression System.Linq.Expressions.MethodCallExpression
forSelector bool
Résultat System.Linq.Expressions.Expression

RewriteBasicProjection() protected méthode

protected RewriteBasicProjection ( Expression originalSource, ParameterExpression>.Tuple originalSelectors, bool forProjection ) : RewriteBasicProjectionResults
originalSource System.Linq.Expressions.Expression
originalSelectors ParameterExpression>.Tuple
forProjection bool
Résultat RewriteBasicProjectionResults

VisitMethodCall() protected méthode

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