C# (CSharp) Remotion.Linq.SqlBackend.MappingResolution Namespace

Сlasses

Name Description
CompoundExpressionComparisonSplitter Splits comparisons involving a compound expression, e.g., new { A = 1, B = 2 } == new { A = 3, B = 4 } => (1 == 3) AND (2 == 4).
DefaultMappingResolutionStage Provides a default implementation of IMappingResolutionStage.
EntityIdentityResolver Resolves expressions representing entities (SqlEntityExpression, SqlEntityRefMemberExpression, SqlSubStatementExpression selecting entities) to their respective identity expressions.
GroupAggregateSimplifier Provides functionality to simplify sub-statements that contain an AggregateExpressionNode aggregating over the elements of a grouping. The sub-statements must be resolved before they can be simplified.
GroupAggregateSimplifier.SimplifyingVisitor
MappingResolutionContext MappingResolutionContext holds context information required during mapping resolution stage.
NamedExpressionCombiner NamedExpressionCombiner analyzes the inner expression of a NamedExpression and returns a combined expression if possible. A combined expression is an expression equivalent to the inner expression but with the name included. The process of combining named expressions must be performed during the mapping resolution stage because the name of an entity or value in a sub-statement must be defined before an outer statement's reference to that entity or value is resolved by SubStatementReferenceResolver.
ResolvingExpressionVisitor ResolvingExpressionVisitor analyzes a prepared Expression for things that need to be analyzed by the IMappingResolver and resolves member accesses and similar structures. Substatements are recursively resolved. Calling ResolveExpression will automatically execute two passes in order to optimize away unnecessary left-outer joins.
ResolvingJoinInfoVisitor ResolvingJoinInfoVisitor modifies UnresolvedJoinInfos and generates ResolvedJoinInfos.
ResolvingSelectExpressionVisitor ResolvingSelectExpressionVisitor is used to resolve sql select projection expressions in the mapping resolutin stage.
ResolvingTableInfoVisitor ResolvingTableInfoVisitor modifies UnresolvedTableInfos and generates ResolvedSimpleTableInfos.
SqlContextExpressionVisitor Ensures that a given expression matches SQL server value semantics.
SqlContextJoinInfoVisitor
SqlContextSelectionAdjuster SqlContextSelectionAdjuster applies a SqlExpressionContext to a SqlStatement by modifying the SqlStatement's SqlStatement.SelectProjection and recalculating all dependent data accordingly.
SqlContextTableInfoVisitor
SubStatementReferenceResolver Creates a reference to the given expression stemming from a ResolvedSubStatementTableInfo. References can only be made to expressions with names. Expressions without names will be copied (but their child expressions resolved). For example, a NamedExpression is referenced via a SqlColumnExpression; but a NewExpression is referenced by an equivalent NewExpression (whose arguments reference the arguments of the original NewExpression).
UnmappedItemException
UnmappedItemException.UnmappedItemExceptionState