Метод | Описание | |
---|---|---|
AddColumn ( TableName tableName, |
||
AddForeignKey ( TableName tableName, TableName referencedTableName, IEnumerable |
||
AddIndex ( TableName tableName, IEnumerable |
||
AddPrimaryKey ( TableName tableName, IEnumerable |
||
AddUniqueConstraint ( TableName tableName, IEnumerable |
||
AlterColumn ( TableName tableName, |
||
ConvertToSql ( object value, DbType targetDbType ) : string | ||
CreateSchema ( string schemaName ) : IEnumerable |
||
CreateTable ( TableName tableName, IEnumerable |
||
DropColumn ( TableName tableName, string columnName ) : IEnumerable |
||
DropDefault ( TableName tableName, |
||
DropForeignKey ( TableName tableName, string constraintName ) : IEnumerable |
||
DropIndex ( TableName tableName, string indexName ) : IEnumerable |
||
DropPrimaryKey ( TableName tableName, string constraintName ) : IEnumerable |
||
DropSchema ( string schemaName ) : IEnumerable |
||
DropTable ( TableName tableName, bool checkIfExists ) : IEnumerable |
||
DropUniqueConstraint ( TableName tableName, string constraintName ) : IEnumerable |
||
ExistsTable ( string databaseName, TableName tableName ) : string | ||
GetSchemaPrefix ( TableName tableName ) : string | ||
GetTableQualifier ( TableName tableName ) : string | ||
RenameColumn ( TableName tableName, string oldName, string newName ) : IEnumerable |
||
RenamePrimaryKey ( TableName tableName, string oldName, string newName ) : IEnumerable |
||
RenameTable ( TableName oldName, string newName ) : IEnumerable |
Метод | Описание | |
---|---|---|
DropConstraint ( TableName tableName, string constraintName ) : string | ||
DropDefaultConstraint ( TableName tableName, string columnName, bool checkIfExists ) : IEnumerable |
||
Escape ( string name ) : string | ||
GetDefaultConstraintName ( string tableName, string columnName ) : string | ||
GetTypeSpecifier ( DataType dataType, bool isRowVersion ) : string |
Метод | Описание | |
---|---|---|
AddConstraint ( TableName tableName, string constraintName, IEnumerable |
||
AlterTable ( TableName tableName ) : string | ||
CreateTable ( TableName tableName ) : string | ||
GetDefaultConstraintClause ( TableName tableName, string columnName, object value, DataType dataType ) : string | ||
GetDefaultValueAsString ( object value, DataType dataType ) : string |
public AddColumn ( TableName tableName, |
||
tableName | TableName | |
column | ||
Результат | IEnumerable |
public AddForeignKey ( TableName tableName, TableName referencedTableName, IEnumerable |
||
tableName | TableName | |
referencedTableName | TableName | |
columnNames | IEnumerable |
|
constraintName | string | |
cascadeOnDelete | bool | |
Результат | IEnumerable |
public AddIndex ( TableName tableName, IEnumerable |
||
tableName | TableName | |
columnNames | IEnumerable |
|
indexName | string | |
Результат | IEnumerable |
public AddPrimaryKey ( TableName tableName, IEnumerable |
||
tableName | TableName | |
columnNames | IEnumerable |
|
constraintName | string | |
Результат | IEnumerable |
public AddUniqueConstraint ( TableName tableName, IEnumerable |
||
tableName | TableName | |
columnNames | IEnumerable |
|
constraintName | string | |
Результат | IEnumerable |
public AlterColumn ( TableName tableName, |
||
tableName | TableName | |
column | ||
Результат | IEnumerable |
public ConvertToSql ( object value, DbType targetDbType ) : string | ||
value | object | |
targetDbType | DbType | |
Результат | string |
public abstract CreateSchema ( string schemaName ) : IEnumerable |
||
schemaName | string | |
Результат | IEnumerable |
public CreateTable ( TableName tableName, IEnumerable |
||
tableName | TableName | |
columns | IEnumerable |
|
primaryKeyConstraintName | string | |
Результат | IEnumerable |
public DropColumn ( TableName tableName, string columnName ) : IEnumerable |
||
tableName | TableName | |
columnName | string | |
Результат | IEnumerable |
protected DropConstraint ( TableName tableName, string constraintName ) : string | ||
tableName | TableName | |
constraintName | string | |
Результат | string |
public DropDefault ( TableName tableName, |
||
tableName | TableName | |
column | ||
Результат | IEnumerable |
protected abstract DropDefaultConstraint ( TableName tableName, string columnName, bool checkIfExists ) : IEnumerable |
||
tableName | TableName | |
columnName | string | |
checkIfExists | bool | |
Результат | IEnumerable |
public DropForeignKey ( TableName tableName, string constraintName ) : IEnumerable |
||
tableName | TableName | |
constraintName | string | |
Результат | IEnumerable |
public abstract DropIndex ( TableName tableName, string indexName ) : IEnumerable |
||
tableName | TableName | |
indexName | string | |
Результат | IEnumerable |
public DropPrimaryKey ( TableName tableName, string constraintName ) : IEnumerable |
||
tableName | TableName | |
constraintName | string | |
Результат | IEnumerable |
public abstract DropSchema ( string schemaName ) : IEnumerable |
||
schemaName | string | |
Результат | IEnumerable |
public DropTable ( TableName tableName, bool checkIfExists ) : IEnumerable |
||
tableName | TableName | |
checkIfExists | bool | |
Результат | IEnumerable |
public DropUniqueConstraint ( TableName tableName, string constraintName ) : IEnumerable |
||
tableName | TableName | |
constraintName | string | |
Результат | IEnumerable |
protected static Escape ( string name ) : string | ||
name | string | |
Результат | string |
public abstract ExistsTable ( string databaseName, TableName tableName ) : string | ||
databaseName | string | |
tableName | TableName | |
Результат | string |
protected static GetDefaultConstraintName ( string tableName, string columnName ) : string | ||
tableName | string | |
columnName | string | |
Результат | string |
public abstract GetSchemaPrefix ( TableName tableName ) : string | ||
tableName | TableName | |
Результат | string |
public GetTableQualifier ( TableName tableName ) : string | ||
tableName | TableName | |
Результат | string |
protected abstract GetTypeSpecifier ( DataType dataType, bool isRowVersion ) : string | ||
dataType | DataType | |
isRowVersion | bool | |
Результат | string |
public abstract RenameColumn ( TableName tableName, string oldName, string newName ) : IEnumerable |
||
tableName | TableName | |
oldName | string | |
newName | string | |
Результат | IEnumerable |
public abstract RenamePrimaryKey ( TableName tableName, string oldName, string newName ) : IEnumerable |
||
tableName | TableName | |
oldName | string | |
newName | string | |
Результат | IEnumerable |
public abstract RenameTable ( TableName oldName, string newName ) : IEnumerable |
||
oldName | TableName | |
newName | string | |
Результат | IEnumerable |