C# Class Dashing.Engine.Dialects.SqlServerDialect

Inheritance: SqlDialectBase
Mostra file Open project: Polylytics/dashing Class Usage Examples

Public Methods

Method Description
AppendForUpdateOnQueryFinish ( StringBuilder sql ) : void
AppendForUpdateUsingTableHint ( StringBuilder tableSql ) : void
AppendQuotedTableName ( StringBuilder sql, IMap map ) : 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
CreateIndex ( Index index ) : string
DropForeignKey ( ForeignKey foreignKey ) : string
DropIndex ( Index index ) : string
GetIdSql ( ) : string
ModifyColumn ( IColumn fromColumn, IColumn toColumn ) : string
OnBeforeDropColumn ( IColumn column ) : string
SqlServerDialect ( ) : System

Protected Methods

Method Description
AppendAutoGenerateModifier ( StringBuilder sql, IColumn column ) : void
TypeName ( DbType type ) : string

Method Details

AppendAutoGenerateModifier() protected method

protected AppendAutoGenerateModifier ( StringBuilder sql, IColumn column ) : void
sql StringBuilder
column IColumn
return void

AppendForUpdateOnQueryFinish() public method

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

AppendForUpdateUsingTableHint() public method

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

AppendQuotedTableName() public method

public AppendQuotedTableName ( StringBuilder sql, IMap map ) : void
sql StringBuilder
map IMap
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

CreateIndex() public method

public CreateIndex ( Index index ) : string
index Dashing.Configuration.Index
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

GetIdSql() public method

public GetIdSql ( ) : string
return string

ModifyColumn() public method

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

OnBeforeDropColumn() public method

public OnBeforeDropColumn ( IColumn column ) : string
column IColumn
return string

SqlServerDialect() public method

public SqlServerDialect ( ) : System
return System

TypeName() protected method

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