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

SqlStatementTextGenerator generates SQL text for a resolved SqlStatement.
Show file Open project: re-motion/Relinq-SqlBackend Class Usage Examples

Public Methods

Method Description
Build ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder, bool isOutermostStatement ) : void
SqlStatementTextGenerator ( ISqlGenerationStage stage ) : System

Protected Methods

Method Description
BuildDistinctPart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder ) : void
BuildFromPart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder ) : void
BuildGroupByPart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder ) : void
BuildOrderByPart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder ) : void
BuildSelectPart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder, bool isOutermostStatement ) : void
BuildTopPart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder ) : void
BuildWherePart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder ) : void

Method Details

Build() public method

public Build ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder, bool isOutermostStatement ) : void
sqlStatement Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement
commandBuilder ISqlCommandBuilder
isOutermostStatement bool
return void

BuildDistinctPart() protected method

protected BuildDistinctPart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder ) : void
sqlStatement Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement
commandBuilder ISqlCommandBuilder
return void

BuildFromPart() protected method

protected BuildFromPart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder ) : void
sqlStatement Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement
commandBuilder ISqlCommandBuilder
return void

BuildGroupByPart() protected method

protected BuildGroupByPart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder ) : void
sqlStatement Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement
commandBuilder ISqlCommandBuilder
return void

BuildOrderByPart() protected method

protected BuildOrderByPart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder ) : void
sqlStatement Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement
commandBuilder ISqlCommandBuilder
return void

BuildSelectPart() protected method

protected BuildSelectPart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder, bool isOutermostStatement ) : void
sqlStatement Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement
commandBuilder ISqlCommandBuilder
isOutermostStatement bool
return void

BuildTopPart() protected method

protected BuildTopPart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder ) : void
sqlStatement Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement
commandBuilder ISqlCommandBuilder
return void

BuildWherePart() protected method

protected BuildWherePart ( SqlStatement sqlStatement, ISqlCommandBuilder commandBuilder ) : void
sqlStatement Remotion.Linq.SqlBackend.SqlStatementModel.SqlStatement
commandBuilder ISqlCommandBuilder
return void

SqlStatementTextGenerator() public method

public SqlStatementTextGenerator ( ISqlGenerationStage stage ) : System
stage ISqlGenerationStage
return System