C# Class Remotion.Linq.SqlBackend.SqlStatementModel.SqlJoinedTable

SqlJoinedTable represents a joined data source in a SqlStatement.
SqlJoinedTable implements ITableInfo because in SqlPreparationFromExpressionVisitor.VisitMemberExpression, a SqlTable is created that needs to preserve all information about a join (causes by a member access in a from expression). The SqlJoinedTable is used as an adapter between IJoinInfo and ITableInfo. (Refactoring this is definitely possible, e.g., by writing a dedicated adapter class.)
Inheritance: SqlTableBase, ITableInfo
Exibir arquivo Open project: re-motion/Relinq-SqlBackend Class Usage Examples

Public Methods

Method Description
Accept ( ITableInfoVisitor visitor ) : ITableInfo
Accept ( ISqlTableBaseVisitor visitor ) : void
GetResolvedTableInfo ( ) : IResolvedTableInfo
SqlJoinedTable ( IJoinInfo joinInfo, JoinSemantics joinSemantics ) : System
ToString ( ) : string

Method Details

Accept() public method

public Accept ( ITableInfoVisitor visitor ) : ITableInfo
visitor ITableInfoVisitor
return ITableInfo

Accept() public method

public Accept ( ISqlTableBaseVisitor visitor ) : void
visitor ISqlTableBaseVisitor
return void

GetResolvedTableInfo() public method

public GetResolvedTableInfo ( ) : IResolvedTableInfo
return IResolvedTableInfo

SqlJoinedTable() public method

public SqlJoinedTable ( IJoinInfo joinInfo, JoinSemantics joinSemantics ) : System
joinInfo IJoinInfo
joinSemantics JoinSemantics
return System

ToString() public method

public ToString ( ) : string
return string