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

MappingResolutionContext holds context information required during mapping resolution stage.
Inheritance: IMappingResolutionContext
Datei anzeigen Open project: re-motion/Relinq-SqlBackend Class Usage Examples

Public Methods

Method Description
AddGroupReferenceMapping ( SqlGroupingSelectExpression groupingSelectExpression, SqlTableBase sqlTable ) : void
AddSqlEntityMapping ( SqlEntityExpression entityExpression, SqlTableBase sqlTable ) : void
AddSqlTable ( SqlTable sqlTable, SqlStatementBuilder sqlStatementBuilder ) : void
GetReferencedGroupSource ( SqlGroupingSelectExpression groupingSelectExpression ) : SqlTableBase
GetSqlTableForEntityExpression ( SqlEntityExpression entityExpression ) : SqlTableBase
MappingResolutionContext ( ) : System
RemoveNamesAndUpdateMapping ( Expression expression ) : Expression
UpdateEntityAndAddMapping ( SqlEntityExpression entityExpression, Type itemType, string tableAlias, string newName ) : SqlEntityExpression
UpdateGroupingSelectAndAddMapping ( SqlGroupingSelectExpression expression, Expression newKey, Expression newElement, IEnumerable aggregations ) : SqlGroupingSelectExpression

Method Details

AddGroupReferenceMapping() public method

public AddGroupReferenceMapping ( SqlGroupingSelectExpression groupingSelectExpression, SqlTableBase sqlTable ) : void
groupingSelectExpression Remotion.Linq.SqlBackend.SqlStatementModel.SqlGroupingSelectExpression
sqlTable Remotion.Linq.SqlBackend.SqlStatementModel.SqlTableBase
return void

AddSqlEntityMapping() public method

public AddSqlEntityMapping ( SqlEntityExpression entityExpression, SqlTableBase sqlTable ) : void
entityExpression Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.SqlEntityExpression
sqlTable Remotion.Linq.SqlBackend.SqlStatementModel.SqlTableBase
return void

AddSqlTable() public method

public AddSqlTable ( SqlTable sqlTable, SqlStatementBuilder sqlStatementBuilder ) : void
sqlTable Remotion.Linq.SqlBackend.SqlStatementModel.SqlTable
sqlStatementBuilder Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatementBuilder
return void

GetReferencedGroupSource() public method

public GetReferencedGroupSource ( SqlGroupingSelectExpression groupingSelectExpression ) : SqlTableBase
groupingSelectExpression Remotion.Linq.SqlBackend.SqlStatementModel.SqlGroupingSelectExpression
return Remotion.Linq.SqlBackend.SqlStatementModel.SqlTableBase

GetSqlTableForEntityExpression() public method

public GetSqlTableForEntityExpression ( SqlEntityExpression entityExpression ) : SqlTableBase
entityExpression Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.SqlEntityExpression
return Remotion.Linq.SqlBackend.SqlStatementModel.SqlTableBase

MappingResolutionContext() public method

public MappingResolutionContext ( ) : System
return System

RemoveNamesAndUpdateMapping() public method

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

UpdateEntityAndAddMapping() public method

public UpdateEntityAndAddMapping ( SqlEntityExpression entityExpression, Type itemType, string tableAlias, string newName ) : SqlEntityExpression
entityExpression Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.SqlEntityExpression
itemType System.Type
tableAlias string
newName string
return Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.SqlEntityExpression

UpdateGroupingSelectAndAddMapping() public method

public UpdateGroupingSelectAndAddMapping ( SqlGroupingSelectExpression expression, Expression newKey, Expression newElement, IEnumerable aggregations ) : SqlGroupingSelectExpression
expression Remotion.Linq.SqlBackend.SqlStatementModel.SqlGroupingSelectExpression
newKey System.Linq.Expressions.Expression
newElement System.Linq.Expressions.Expression
aggregations IEnumerable
return Remotion.Linq.SqlBackend.SqlStatementModel.SqlGroupingSelectExpression