C# Class Remotion.Linq.SqlBackend.MappingResolution.EntityIdentityResolver

Resolves expressions representing entities (SqlEntityExpression, SqlEntityRefMemberExpression, SqlSubStatementExpression selecting entities) to their respective identity expressions.
Inheritance: IEntityIdentityResolver
显示文件 Open project: re-motion/Relinq-SqlBackend Class Usage Examples

Public Methods

Method Description
EntityIdentityResolver ( IMappingResolutionStage stage, IMappingResolver resolver, IMappingResolutionContext context ) : System
ResolvePotentialEntity ( Expression expression ) : Expression
ResolvePotentialEntityComparison ( BinaryExpression binaryExpression ) : BinaryExpression
ResolvePotentialEntityComparison ( SqlInExpression inExpression ) : SqlInExpression
ResolvePotentialEntityComparison ( SqlIsNotNullExpression isNotNullExpression ) : SqlIsNotNullExpression
ResolvePotentialEntityComparison ( SqlIsNullExpression isNullExpression ) : SqlIsNullExpression

Private Methods

Method Description
CheckAndSimplifyEntityWithinSubStatement ( SqlSubStatementExpression sqlSubStatementExpression ) : Expression
GetIdentityExpressionForReferencedEntity ( SqlEntityRefMemberExpression expression ) : Expression
StripConversions ( Expression expression ) : Expression

Method Details

EntityIdentityResolver() public method

public EntityIdentityResolver ( IMappingResolutionStage stage, IMappingResolver resolver, IMappingResolutionContext context ) : System
stage IMappingResolutionStage
resolver IMappingResolver
context IMappingResolutionContext
return System

ResolvePotentialEntity() public method

public ResolvePotentialEntity ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression

ResolvePotentialEntityComparison() public method

public ResolvePotentialEntityComparison ( BinaryExpression binaryExpression ) : BinaryExpression
binaryExpression System.Linq.Expressions.BinaryExpression
return System.Linq.Expressions.BinaryExpression

ResolvePotentialEntityComparison() public method

public ResolvePotentialEntityComparison ( SqlInExpression inExpression ) : SqlInExpression
inExpression Remotion.Linq.SqlBackend.SqlStatementModel.SqlSpecificExpressions.SqlInExpression
return Remotion.Linq.SqlBackend.SqlStatementModel.SqlSpecificExpressions.SqlInExpression

ResolvePotentialEntityComparison() public method

public ResolvePotentialEntityComparison ( SqlIsNotNullExpression isNotNullExpression ) : SqlIsNotNullExpression
isNotNullExpression Remotion.Linq.SqlBackend.SqlStatementModel.SqlSpecificExpressions.SqlIsNotNullExpression
return Remotion.Linq.SqlBackend.SqlStatementModel.SqlSpecificExpressions.SqlIsNotNullExpression

ResolvePotentialEntityComparison() public method

public ResolvePotentialEntityComparison ( SqlIsNullExpression isNullExpression ) : SqlIsNullExpression
isNullExpression Remotion.Linq.SqlBackend.SqlStatementModel.SqlSpecificExpressions.SqlIsNullExpression
return Remotion.Linq.SqlBackend.SqlStatementModel.SqlSpecificExpressions.SqlIsNullExpression