C# Class Shaolinq.Persistence.Linq.RelatedPropertiesJoinExpander

Inheritance: SqlExpressionVisitor
Datei anzeigen Open project: tumtumtum/Shaolinq Class Usage Examples

Public Methods

Method Description
Expand ( DataAccessModel model, Expression expression ) : RelatedPropertiesJoinExpanderResults

Protected Methods

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

Private Methods

Method 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 method

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

RewriteBasicProjection() protected method

protected RewriteBasicProjection ( MethodCallExpression methodCallExpression, bool forSelector ) : Expression
methodCallExpression System.Linq.Expressions.MethodCallExpression
forSelector bool
return System.Linq.Expressions.Expression

RewriteBasicProjection() protected method

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

VisitMethodCall() protected method

protected VisitMethodCall ( MethodCallExpression methodCallExpression ) : Expression
methodCallExpression System.Linq.Expressions.MethodCallExpression
return System.Linq.Expressions.Expression