C# Class Remotion.Linq.SqlBackend.SqlGeneration.SqlTableAndJoinTextGenerator

SqlTableAndJoinTextGenerator generates sql-text for ResolvedSimpleTableInfo and ResolvedJoinInfo.
Inheritance: ITableInfoVisitor, IJoinInfoVisitor
ファイルを表示 Open project: re-motion/Relinq-SqlBackend Class Usage Examples

Public Methods

Method Description
GenerateSql ( SqlTable sqlTable, ISqlCommandBuilder commandBuilder, ISqlGenerationStage stage, bool isFirstTable ) : void
VisitJoinedGroupingTableInfo ( ResolvedJoinedGroupingTableInfo tableInfo ) : ITableInfo
VisitResolvedJoinInfo ( ResolvedJoinInfo joinInfo ) : IJoinInfo
VisitSimpleTableInfo ( ResolvedSimpleTableInfo tableInfo ) : ITableInfo
VisitSubStatementTableInfo ( ResolvedSubStatementTableInfo tableInfo ) : ITableInfo

Protected Methods

Method Description
SqlTableAndJoinTextGenerator ( ISqlCommandBuilder commandBuilder, ISqlGenerationStage stage ) : System

Private Methods

Method Description
GenerateSqlForJoins ( SqlTableBase sqlTable, ISqlCommandBuilder commandBuilder, IJoinInfoVisitor visitor ) : void
GenerateTextForSqlJoinedTable ( IJoinInfoVisitor visitor, SqlJoinedTable joinedTable, ISqlCommandBuilder commandBuilder ) : void
GenerateTextForSqlTable ( ITableInfoVisitor visitor, SqlTable sqlTable, ISqlCommandBuilder commandBuilder, bool isFirstTable ) : void
IJoinInfoVisitor ( UnresolvedCollectionJoinInfo joinInfo ) : IJoinInfo
IJoinInfoVisitor ( UnresolvedJoinInfo tableSource ) : IJoinInfo
ITableInfoVisitor ( SqlJoinedTable joinedTable ) : ITableInfo
ITableInfoVisitor ( UnresolvedGroupReferenceTableInfo tableInfo ) : ITableInfo
ITableInfoVisitor ( UnresolvedTableInfo tableInfo ) : ITableInfo

Method Details

GenerateSql() public static method

public static GenerateSql ( SqlTable sqlTable, ISqlCommandBuilder commandBuilder, ISqlGenerationStage stage, bool isFirstTable ) : void
sqlTable Remotion.Linq.SqlBackend.SqlStatementModel.SqlTable
commandBuilder ISqlCommandBuilder
stage ISqlGenerationStage
isFirstTable bool
return void

SqlTableAndJoinTextGenerator() protected method

protected SqlTableAndJoinTextGenerator ( ISqlCommandBuilder commandBuilder, ISqlGenerationStage stage ) : System
commandBuilder ISqlCommandBuilder
stage ISqlGenerationStage
return System

VisitJoinedGroupingTableInfo() public method

public VisitJoinedGroupingTableInfo ( ResolvedJoinedGroupingTableInfo tableInfo ) : ITableInfo
tableInfo Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.ResolvedJoinedGroupingTableInfo
return ITableInfo

VisitResolvedJoinInfo() public method

public VisitResolvedJoinInfo ( ResolvedJoinInfo joinInfo ) : IJoinInfo
joinInfo Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.ResolvedJoinInfo
return IJoinInfo

VisitSimpleTableInfo() public method

public VisitSimpleTableInfo ( ResolvedSimpleTableInfo tableInfo ) : ITableInfo
tableInfo Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.ResolvedSimpleTableInfo
return ITableInfo

VisitSubStatementTableInfo() public method

public VisitSubStatementTableInfo ( ResolvedSubStatementTableInfo tableInfo ) : ITableInfo
tableInfo Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.ResolvedSubStatementTableInfo
return ITableInfo