C# Class YesSql.Core.Sql.BaseDialect

Inheritance: ISqlDialect
ファイルを表示 Open project: sebastienros/yessql

Public Methods

Method Description
GetAddForeignKeyConstraintString ( string name, string srcColumns, string destTable, string destColumns, bool primaryKey ) : string
GetDropForeignKeyConstraintString ( string name ) : string
GetDropTableString ( string name ) : string
GetSqlValue ( object value ) : string
GetTypeName ( DbType dbType, int length, byte precision, byte scale ) : string
Page ( SqlBuilder sqlBuilder, int offset, int limit ) : void
QuoteForColumnName ( string columnName ) : string
QuoteForTableName ( string tableName ) : string

Protected Methods

Method Description
Quote ( string value ) : string

Method Details

GetAddForeignKeyConstraintString() public method

public GetAddForeignKeyConstraintString ( string name, string srcColumns, string destTable, string destColumns, bool primaryKey ) : string
name string
srcColumns string
destTable string
destColumns string
primaryKey bool
return string

GetDropForeignKeyConstraintString() public method

public GetDropForeignKeyConstraintString ( string name ) : string
name string
return string

GetDropTableString() public method

public GetDropTableString ( string name ) : string
name string
return string

GetSqlValue() public method

public GetSqlValue ( object value ) : string
value object
return string

GetTypeName() public abstract method

public abstract GetTypeName ( DbType dbType, int length, byte precision, byte scale ) : string
dbType DbType
length int
precision byte
scale byte
return string

Page() public abstract method

public abstract Page ( SqlBuilder sqlBuilder, int offset, int limit ) : void
sqlBuilder SqlBuilder
offset int
limit int
return void

Quote() protected method

protected Quote ( string value ) : string
value string
return string

QuoteForColumnName() public method

public QuoteForColumnName ( string columnName ) : string
columnName string
return string

QuoteForTableName() public method

public QuoteForTableName ( string tableName ) : string
tableName string
return string