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

Inheritance: SqlExpressionVisitor
Show file Open project: tumtumtum/Shaolinq Class Usage Examples

Public Methods

Method Description
Gather ( DataAccessModel model, Expression>.IList expressions, bool forProjection ) : ReferencedRelatedObjectPropertyGathererResults
ReferencedRelatedObjectPropertyGatherer ( DataAccessModel model, System.Linq.Expressions.ParameterExpression sourceParameterExpression, bool forProjection ) : System

Protected Methods

Method Description
AcquireDisableCompareContext ( ) : IDisposable
VisitBinary ( BinaryExpression binaryExpression ) : Expression
VisitConditional ( ConditionalExpression expression ) : Expression
VisitMemberAccess ( MemberExpression memberExpression ) : Expression
VisitMethodCall ( MethodCallExpression methodCallExpression ) : Expression

Private Methods

Method Description
AddIncludedProperty ( Expression root, ReferencedRelatedObject referencedRelatedObject, Shaolinq.Persistence.Linq.ObjectPath prefixPath ) : void
GetExpression ( Expression expression ) : Expression

Method Details

AcquireDisableCompareContext() protected method

protected AcquireDisableCompareContext ( ) : IDisposable
return IDisposable

Gather() public static method

public static Gather ( DataAccessModel model, Expression>.IList expressions, bool forProjection ) : ReferencedRelatedObjectPropertyGathererResults
model DataAccessModel
expressions Expression>.IList
forProjection bool
return ReferencedRelatedObjectPropertyGathererResults

ReferencedRelatedObjectPropertyGatherer() public method

public ReferencedRelatedObjectPropertyGatherer ( DataAccessModel model, System.Linq.Expressions.ParameterExpression sourceParameterExpression, bool forProjection ) : System
model DataAccessModel
sourceParameterExpression System.Linq.Expressions.ParameterExpression
forProjection bool
return System

VisitBinary() protected method

protected VisitBinary ( BinaryExpression binaryExpression ) : Expression
binaryExpression System.Linq.Expressions.BinaryExpression
return System.Linq.Expressions.Expression

VisitConditional() protected method

protected VisitConditional ( ConditionalExpression expression ) : Expression
expression System.Linq.Expressions.ConditionalExpression
return System.Linq.Expressions.Expression

VisitMemberAccess() protected method

protected VisitMemberAccess ( MemberExpression memberExpression ) : Expression
memberExpression System.Linq.Expressions.MemberExpression
return System.Linq.Expressions.Expression

VisitMethodCall() protected method

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