View Source
Class DeleteForeignKeyBuilder
Implements IDeleteForeignKey...
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class DeleteForeignKeyBuilder : ExpressionBuilderBase<DeleteForeignKeyExpression>, IDeleteForeignKeyFromTableBuilder, IDeleteForeignKeyForeignColumnBuilder, IDeleteForeignKeyToTableBuilder, IDeleteForeignKeyPrimaryColumnBuilder, IDeleteForeignKeyOnTableBuilder, IFluentBuilder
Constructors
View Source
DeleteForeignKeyBuilder(DeleteForeignKeyExpression)
Declaration
public DeleteForeignKeyBuilder(DeleteForeignKeyExpression expression)
Parameters
Methods
View Source
ForeignColumn(String)
Specifies the foreign column.
Declaration
public IDeleteForeignKeyToTableBuilder ForeignColumn(string column)
Parameters
Type |
Name |
Description |
System.String |
column |
|
Returns
View Source
ForeignColumns(String[])
Specifies the foreign columns.
Declaration
public IDeleteForeignKeyToTableBuilder ForeignColumns(params string[] columns)
Parameters
Type |
Name |
Description |
System.String[] |
columns |
|
Returns
View Source
FromTable(String)
Specifies the source table of the foreign key.
Declaration
public IDeleteForeignKeyForeignColumnBuilder FromTable(string foreignTableName)
Parameters
Type |
Name |
Description |
System.String |
foreignTableName |
|
Returns
View Source
OnTable(String)
Specifies the table of the foreign key.
Declaration
public IExecutableBuilder OnTable(string foreignTableName)
Parameters
Type |
Name |
Description |
System.String |
foreignTableName |
|
Returns
View Source
PrimaryColumn(String)
Specifies the target primary column.
Declaration
public IExecutableBuilder PrimaryColumn(string column)
Parameters
Type |
Name |
Description |
System.String |
column |
|
Returns
View Source
PrimaryColumns(String[])
Specifies the target primary columns.
Declaration
public IExecutableBuilder PrimaryColumns(params string[] columns)
Parameters
Type |
Name |
Description |
System.String[] |
columns |
|
Returns
View Source
ToTable(String)
Specifies the target table of the foreign key.
Declaration
public IDeleteForeignKeyPrimaryColumnBuilder ToTable(string table)
Parameters
Type |
Name |
Description |
System.String |
table |
|
Returns