Метод | Описание | |
---|---|---|
AddColumn ( TableName tableName, |
||
AddForeignKey ( TableName tableName, TableName referencedTableName, IEnumerable |
||
AddIndex ( TableName tableName, IEnumerable |
||
AddPrimaryKey ( TableName tableName, IEnumerable |
||
AddUniqueConstraint ( TableName tableName, IEnumerable |
||
AlterColumn ( TableName tableName, Column column ) : IEnumerable |
||
ConvertToSql ( object value, DbType targetDbType ) : string | ||
CreateSchema ( string schemaName ) : IEnumerable |
||
CreateTable ( TableName tableName, IEnumerable |
||
DropColumn ( TableName tableName, string columnName ) : IEnumerable |
||
DropDefault ( TableName tableName, Column column ) : IEnumerable |
||
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 | ||
RenameColumn ( TableName tableName, string oldName, string newName ) : IEnumerable |
||
RenamePrimaryKey ( TableName tableName, string oldName, string newName ) : IEnumerable |
||
RenameTable ( TableName oldName, string newName ) : IEnumerable |
Метод | Описание | |
---|---|---|
Escape ( string name ) : string |
Метод | Описание | |
---|---|---|
GetColumnSpec ( Column column ) : string | ||
GetDefaultValueAsString ( object value ) : string | ||
GetTypeSpecifier ( DataType type ) : 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, Column column ) : IEnumerable |
||
tableName | TableName | |
column | Column | |
Результат | IEnumerable |
public ConvertToSql ( object value, DbType targetDbType ) : string | ||
value | object | |
targetDbType | DbType | |
Результат | string |
public 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 |
public DropDefault ( TableName tableName, Column column ) : IEnumerable |
||
tableName | TableName | |
column | Column | |
Результат | IEnumerable |
public DropForeignKey ( TableName tableName, string constraintName ) : IEnumerable |
||
tableName | TableName | |
constraintName | string | |
Результат | IEnumerable |
public DropIndex ( TableName tableName, string indexName ) : IEnumerable |
||
tableName | TableName | |
indexName | string | |
Результат | IEnumerable |
public DropPrimaryKey ( TableName tableName, string constraintName ) : IEnumerable |
||
tableName | TableName | |
constraintName | string | |
Результат | IEnumerable |
public 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 ExistsTable ( string databaseName, TableName tableName ) : string | ||
databaseName | string | |
tableName | TableName | |
Результат | string |
public RenameColumn ( TableName tableName, string oldName, string newName ) : IEnumerable |
||
tableName | TableName | |
oldName | string | |
newName | string | |
Результат | IEnumerable |
public RenamePrimaryKey ( TableName tableName, string oldName, string newName ) : IEnumerable |
||
tableName | TableName | |
oldName | string | |
newName | string | |
Результат | IEnumerable |
public RenameTable ( TableName oldName, string newName ) : IEnumerable |
||
oldName | TableName | |
newName | string | |
Результат | IEnumerable |