Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 | ||
return | IEnumerable |
public AddForeignKey ( TableName tableName, TableName referencedTableName, IEnumerable |
||
tableName | TableName | |
referencedTableName | TableName | |
columnNames | IEnumerable |
|
constraintName | string | |
cascadeOnDelete | bool | |
return | IEnumerable |
public AddIndex ( TableName tableName, IEnumerable |
||
tableName | TableName | |
columnNames | IEnumerable |
|
indexName | string | |
return | IEnumerable |
public AddPrimaryKey ( TableName tableName, IEnumerable |
||
tableName | TableName | |
columnNames | IEnumerable |
|
constraintName | string | |
return | IEnumerable |
public AddUniqueConstraint ( TableName tableName, IEnumerable |
||
tableName | TableName | |
columnNames | IEnumerable |
|
constraintName | string | |
return | IEnumerable |
public AlterColumn ( TableName tableName, |
||
tableName | TableName | |
column | ||
return | IEnumerable |
public ConvertToSql ( object value, DbType targetDbType ) : string | ||
value | object | |
targetDbType | DbType | |
return | string |
public abstract CreateSchema ( string schemaName ) : IEnumerable |
||
schemaName | string | |
return | IEnumerable |
public CreateTable ( TableName tableName, IEnumerable |
||
tableName | TableName | |
columns | IEnumerable |
|
primaryKeyConstraintName | string | |
return | IEnumerable |
public DropColumn ( TableName tableName, string columnName ) : IEnumerable |
||
tableName | TableName | |
columnName | string | |
return | IEnumerable |
protected DropConstraint ( TableName tableName, string constraintName ) : string | ||
tableName | TableName | |
constraintName | string | |
return | string |
public DropDefault ( TableName tableName, |
||
tableName | TableName | |
column | ||
return | IEnumerable |
protected abstract DropDefaultConstraint ( TableName tableName, string columnName, bool checkIfExists ) : IEnumerable |
||
tableName | TableName | |
columnName | string | |
checkIfExists | bool | |
return | IEnumerable |
public DropForeignKey ( TableName tableName, string constraintName ) : IEnumerable |
||
tableName | TableName | |
constraintName | string | |
return | IEnumerable |
public abstract DropIndex ( TableName tableName, string indexName ) : IEnumerable |
||
tableName | TableName | |
indexName | string | |
return | IEnumerable |
public DropPrimaryKey ( TableName tableName, string constraintName ) : IEnumerable |
||
tableName | TableName | |
constraintName | string | |
return | IEnumerable |
public abstract DropSchema ( string schemaName ) : IEnumerable |
||
schemaName | string | |
return | IEnumerable |
public DropTable ( TableName tableName, bool checkIfExists ) : IEnumerable |
||
tableName | TableName | |
checkIfExists | bool | |
return | IEnumerable |
public DropUniqueConstraint ( TableName tableName, string constraintName ) : IEnumerable |
||
tableName | TableName | |
constraintName | string | |
return | IEnumerable |
protected static Escape ( string name ) : string | ||
name | string | |
return | string |
public abstract ExistsTable ( string databaseName, TableName tableName ) : string | ||
databaseName | string | |
tableName | TableName | |
return | string |
protected static GetDefaultConstraintName ( string tableName, string columnName ) : string | ||
tableName | string | |
columnName | string | |
return | string |
public abstract GetSchemaPrefix ( TableName tableName ) : string | ||
tableName | TableName | |
return | string |
public GetTableQualifier ( TableName tableName ) : string | ||
tableName | TableName | |
return | string |
protected abstract GetTypeSpecifier ( DataType dataType, bool isRowVersion ) : string | ||
dataType | DataType | |
isRowVersion | bool | |
return | string |
public abstract RenameColumn ( TableName tableName, string oldName, string newName ) : IEnumerable |
||
tableName | TableName | |
oldName | string | |
newName | string | |
return | IEnumerable |
public abstract RenamePrimaryKey ( TableName tableName, string oldName, string newName ) : IEnumerable |
||
tableName | TableName | |
oldName | string | |
newName | string | |
return | IEnumerable |
public abstract RenameTable ( TableName oldName, string newName ) : IEnumerable |
||
oldName | TableName | |
newName | string | |
return | IEnumerable |