Method | Description | |
---|---|---|
Default ( object defaultValue ) : string | ||
GetAndMapColumnProperties ( Migrator.Framework.Column column ) : ColumnPropertiesMapper | ||
GetColumnMapper ( Migrator.Framework.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
|
|
IsUnsignedCompatible ( DbType type ) : bool |
Determine if a particular database type has an unsigned variant
|
|
NewProviderForDialect ( string connectionString ) : ITransformationProvider | ||
Quote ( string value ) : string | ||
RegisterProperty ( ColumnProperty property, string sql ) : void | ||
SqlForProperty ( ColumnProperty property ) : string |
Method | Description | |
---|---|---|
Dialect ( ) : System | ||
RegisterColumnType ( DbType code, int capacity, string name ) : void |
Subclasses register a typename for the given type code and maximum column length.
|
|
RegisterColumnType ( DbType code, string name ) : void |
Suclasses register a typename for the given type code.
|
|
RegisterUnsignedCompatible ( DbType type ) : void |
Subclasses register which DbTypes are unsigned-compatible (ie, available in signed and unsigned variants)
|
public Default ( object defaultValue ) : string | ||
defaultValue | object | |
return | string |
public GetAndMapColumnProperties ( Migrator.Framework.Column column ) : ColumnPropertiesMapper | ||
column | Migrator.Framework.Column | |
return | ColumnPropertiesMapper |
public GetColumnMapper ( Migrator.Framework.Column column ) : ColumnPropertiesMapper | ||
column | Migrator.Framework.Column | |
return | ColumnPropertiesMapper |
public GetTypeName ( DbType type ) : string | ||
type | DbType | The DbType |
return | string |
public GetTypeName ( DbType type, int length ) : string | ||
type | DbType | The DbType |
length | int | |
return | string |
public GetTypeName ( DbType type, int length, int precision, int scale ) : string | ||
type | DbType | The DbType |
length | int | |
precision | int | |
scale | int | |
return | string |
public IsUnsignedCompatible ( DbType type ) : bool | ||
type | DbType | The DbType |
return | bool |
public NewProviderForDialect ( string connectionString ) : ITransformationProvider | ||
connectionString | string | |
return | ITransformationProvider |
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 |
return | void |
protected RegisterColumnType ( DbType code, string name ) : void | ||
code | DbType | The typecode |
name | string | The database type name |
return | void |
public RegisterProperty ( ColumnProperty property, string sql ) : void | ||
property | ColumnProperty | |
sql | string | |
return | void |
protected RegisterUnsignedCompatible ( DbType type ) : void | ||
type | DbType | |
return | void |
public SqlForProperty ( ColumnProperty property ) : string | ||
property | ColumnProperty | |
return | string |