Метод | Описание | |
---|---|---|
GetQuerySeparator ( ) : string |
Gets the SQL command that separates multiple SQL queries in one SQL script file of each other.
|
|
SqlServerProvider ( ) : System |
Initializes a new instance of the SqlServerProvider class.
|
Метод | Описание | |
---|---|---|
BuildAutoIncrement ( int seed, int step ) : string |
Builds the SQL fragment that describes an auto-increment column.
|
|
BuildDataType ( SqlTypes type, int length, int scale, int precision ) : string |
Builds the String that represents the specified type.
|
|
BuildRenameColumn ( Column column ) : IEnumerable |
Builds the SQL commands that rename the specified column.
|
|
DropDefaultConstraint ( DefaultConstraint defaultConstraint ) : IEnumerable |
Enumerates the SQL commands that are necessary to drop the specified defaultConstraint.
|
|
DropPrimaryKeyConstraint ( PrimaryKeyConstraint pk ) : IEnumerable |
Enumerates the SQL commands that are necessary to drop the specified primary key constraint (pk).
|
|
EscapeColumnName ( string columnName ) : string |
Escapes the specified columnName.
|
|
EscapeConstraintName ( string constraintName ) : string |
Escapes the specified constraintName.
|
|
EscapeTableName ( string tableName ) : string |
Escapes the specified tableName
|
protected BuildAutoIncrement ( int seed, int step ) : string | ||
seed | int | The initial value. |
step | int | The increment step. |
Результат | string |
protected BuildDataType ( SqlTypes type, int length, int scale, int precision ) : string | ||
type | SqlTypes | The type. |
length | int | The length. |
scale | int | The scale. |
precision | int | The precision. |
Результат | string |
protected BuildRenameColumn ( Column column ) : IEnumerable |
||
column | Column | The column. |
Результат | IEnumerable |
protected DropDefaultConstraint ( DefaultConstraint defaultConstraint ) : IEnumerable |
||
defaultConstraint | DefaultConstraint | The default constraint. |
Результат | IEnumerable |
protected DropPrimaryKeyConstraint ( PrimaryKeyConstraint pk ) : IEnumerable |
||
pk | PrimaryKeyConstraint | The primary key constraint. |
Результат | IEnumerable |
protected EscapeColumnName ( string columnName ) : string | ||
columnName | string | Name of the column. |
Результат | string |
protected EscapeConstraintName ( string constraintName ) : string | ||
constraintName | string | Name of the constraint. |
Результат | string |
protected EscapeTableName ( string tableName ) : string | ||
tableName | string | Name of the table. |
Результат | string |