C# Class Dashing.Engine.Dialects.SqliteDialect

Inheritance: SqlDialectBase
Mostra 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
CreateForeignKey ( ForeignKey foreignKey ) : string
DropForeignKey ( ForeignKey foreignKey ) : string
DropIndex ( Index index ) : string
GetIdSql ( ) : string
ModifyColumn ( IColumn fromColumn, IColumn toColumn ) : string
SqliteDialect ( ) : System
WriteDropTableIfExists ( string tableName ) : string

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

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

CreateForeignKey() public method

public CreateForeignKey ( ForeignKey foreignKey ) : string
foreignKey Dashing.Configuration.ForeignKey
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

SqliteDialect() public method

public SqliteDialect ( ) : System
return System

TypeName() protected method

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

WriteDropTableIfExists() public method

public WriteDropTableIfExists ( string tableName ) : string
tableName string
return string