Interface IDeleteExpressionRoot
Assembly: FluentMigrator.Abstractions.dll
Syntax
public interface IDeleteExpressionRoot
Methods
Column(string)
Declaration
IDeleteColumnFromTableSyntax Column(string columnName)
Parameters
Type |
Name |
Description |
string |
columnName |
|
Returns
DefaultConstraint()
Deletes a default constraint from a column
Declaration
IDeleteDefaultConstraintOnTableSyntax DefaultConstraint()
Returns
ForeignKey()
Declaration
IDeleteForeignKeyFromTableSyntax ForeignKey()
Returns
ForeignKey(string)
Declaration
IDeleteForeignKeyOnTableSyntax ForeignKey(string foreignKeyName)
Parameters
Type |
Name |
Description |
string |
foreignKeyName |
|
Returns
FromTable(string)
Declaration
IDeleteDataOrInSchemaSyntax FromTable(string tableName)
Parameters
Type |
Name |
Description |
string |
tableName |
|
Returns
Index()
Deletes an index, based on the naming convention in effect
Declaration
IDeleteIndexForTableSyntax Index()
Returns
Index(string)
Declaration
IDeleteIndexForTableSyntax Index(string indexName)
Parameters
Type |
Name |
Description |
string |
indexName |
the name of the index
|
Returns
PrimaryKey(string)
Deletes a named Primary Key from a table
Declaration
IDeleteConstraintOnTableSyntax PrimaryKey(string primaryKeyName)
Parameters
Type |
Name |
Description |
string |
primaryKeyName |
|
Returns
Schema(string)
Declaration
void Schema(string schemaName)
Parameters
Type |
Name |
Description |
string |
schemaName |
|
Sequence(string)
Declaration
IInSchemaSyntax Sequence(string sequenceName)
Parameters
Type |
Name |
Description |
string |
sequenceName |
|
Returns
Table(string)
Declaration
IInSchemaSyntax Table(string tableName)
Parameters
Type |
Name |
Description |
string |
tableName |
|
Returns
UniqueConstraint()
Deletes a named Unique Constraint from a table based on the naming convention in effect
Declaration
IDeleteConstraintOnTableSyntax UniqueConstraint()
Returns
UniqueConstraint(string)
Deletes a named Unique Constraint From a table
Declaration
IDeleteConstraintOnTableSyntax UniqueConstraint(string constraintName)
Parameters
Type |
Name |
Description |
string |
constraintName |
|
Returns