C# Class Dashing.Engine.Dialects.AnsiSqlDialect

Inheritance: SqlDialectBase
Show file Open project: Polylytics/dashing

Public Methods

Method Description
AppendForUpdateOnQueryFinish ( StringBuilder sql ) : void
AppendForUpdateUsingTableHint ( StringBuilder tableSql ) : void
ApplySkipTake ( StringBuilder sql, StringBuilder orderClause, int take, int skip ) : void
ChangeColumnName ( IColumn fromColumn, IColumn toColumn ) : string
ChangeTableName ( IMap @from, IMap to ) : string
CheckDatabaseExists ( string databaseName ) : string
DropForeignKey ( ForeignKey foreignKey ) : string
DropIndex ( Index index ) : string
ModifyColumn ( IColumn fromColumn, IColumn toColumn ) : string

Protected Methods

Method Description
TypeName ( DbType type ) : string

Method Details

AppendForUpdateOnQueryFinish() public method

public AppendForUpdateOnQueryFinish ( StringBuilder sql ) : void
sql StringBuilder
return void

AppendForUpdateUsingTableHint() public method

public AppendForUpdateUsingTableHint ( StringBuilder tableSql ) : void
tableSql StringBuilder
return void

ApplySkipTake() public method

public ApplySkipTake ( StringBuilder sql, StringBuilder orderClause, int take, int skip ) : void
sql StringBuilder
orderClause StringBuilder
take int
skip int
return void

ChangeColumnName() public method

public ChangeColumnName ( IColumn fromColumn, IColumn toColumn ) : string
fromColumn IColumn
toColumn IColumn
return string

ChangeTableName() public method

public ChangeTableName ( IMap @from, IMap to ) : string
@from IMap
to IMap
return string

CheckDatabaseExists() public method

public CheckDatabaseExists ( string databaseName ) : string
databaseName string
return string

DropForeignKey() public method

public DropForeignKey ( ForeignKey foreignKey ) : string
foreignKey Dashing.Configuration.ForeignKey
return string

DropIndex() public method

public DropIndex ( Index index ) : string
index Dashing.Configuration.Index
return string

ModifyColumn() public method

public ModifyColumn ( IColumn fromColumn, IColumn toColumn ) : string
fromColumn IColumn
toColumn IColumn
return string

TypeName() protected method

protected TypeName ( DbType type ) : string
type DbType
return string