C# 클래스 Simple.Migrator.Providers.Dialect

Defines the implementations specific details for a particular database.
파일 보기 프로젝트 열기: juanplopes/simple 1 사용 예제들

공개 메소드들

메소드 설명
Default ( object defaultValue ) : string
GetAndMapColumnProperties ( Column column ) : ColumnPropertiesMapper
GetColumnMapper ( Column column ) : ColumnPropertiesMapper
GetTypeName ( DbType type ) : string

Get the name of the database type associated with the given

GetTypeName ( DbType type, int length ) : string

Get the name of the database type associated with the given

GetTypeName ( DbType type, int length, int precision, int scale ) : string

Get the name of the database type associated with the given

NewProviderForDialect ( string invariantProvider, string connectionString ) : ITransformationProvider
Quote ( string value ) : string
RegisterProperty ( ColumnProperty property, string sql ) : void
SqlForProperty ( ColumnProperty property ) : string

보호된 메소드들

메소드 설명
Dialect ( ) : System
RegisterColumnType ( DbType code, int capacity, string name ) : void

Subclasses register a typename for the given type code and maximum column length. $l in the type name will be replaced by the column length (if appropriate)

RegisterColumnType ( DbType code, string name ) : void

Suclasses register a typename for the given type code. $l in the typename will be replaced by the column length (if appropriate).

메소드 상세

Default() 공개 메소드

public Default ( object defaultValue ) : string
defaultValue object
리턴 string

Dialect() 보호된 메소드

protected Dialect ( ) : System
리턴 System

GetAndMapColumnProperties() 공개 메소드

public GetAndMapColumnProperties ( Column column ) : ColumnPropertiesMapper
column Column
리턴 ColumnPropertiesMapper

GetColumnMapper() 공개 메소드

public GetColumnMapper ( Column column ) : ColumnPropertiesMapper
column Column
리턴 ColumnPropertiesMapper

GetTypeName() 공개 메소드

Get the name of the database type associated with the given
public GetTypeName ( DbType type ) : string
type DbType The DbType
리턴 string

GetTypeName() 공개 메소드

Get the name of the database type associated with the given
public GetTypeName ( DbType type, int length ) : string
type DbType The DbType
length int
리턴 string

GetTypeName() 공개 메소드

Get the name of the database type associated with the given
public GetTypeName ( DbType type, int length, int precision, int scale ) : string
type DbType The DbType
length int
precision int
scale int
리턴 string

NewProviderForDialect() 공개 메소드

public NewProviderForDialect ( string invariantProvider, string connectionString ) : ITransformationProvider
invariantProvider string
connectionString string
리턴 ITransformationProvider

Quote() 공개 메소드

public Quote ( string value ) : string
value string
리턴 string

RegisterColumnType() 보호된 메소드

Subclasses register a typename for the given type code and maximum column length. $l in the type name will be replaced by the column length (if appropriate)
protected RegisterColumnType ( DbType code, int capacity, string name ) : void
code DbType The typecode
capacity int Maximum length of database type
name string The database type name
리턴 void

RegisterColumnType() 보호된 메소드

Suclasses register a typename for the given type code. $l in the typename will be replaced by the column length (if appropriate).
protected RegisterColumnType ( DbType code, string name ) : void
code DbType The typecode
name string The database type name
리턴 void

RegisterProperty() 공개 메소드

public RegisterProperty ( ColumnProperty property, string sql ) : void
property ColumnProperty
sql string
리턴 void

SqlForProperty() 공개 메소드

public SqlForProperty ( ColumnProperty property ) : string
property ColumnProperty
리턴 string