View Source
Class DeleteForeignKeyBuilder
Implements IDeleteForeignKey...
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 |
| string |
column |
|
Returns
View Source
ForeignColumns(params string[])
Specifies the foreign columns.
Declaration
public IDeleteForeignKeyToTableBuilder ForeignColumns(params string[] columns)
Parameters
| Type |
Name |
Description |
| 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 |
| string |
foreignTableName |
|
Returns
View Source
OnTable(string)
Specifies the table of the foreign key.
Declaration
public IExecutableBuilder OnTable(string foreignTableName)
Parameters
| Type |
Name |
Description |
| string |
foreignTableName |
|
Returns
View Source
PrimaryColumn(string)
Specifies the target primary column.
Declaration
public IExecutableBuilder PrimaryColumn(string column)
Parameters
| Type |
Name |
Description |
| string |
column |
|
Returns
View Source
PrimaryColumns(params string[])
Specifies the target primary columns.
Declaration
public IExecutableBuilder PrimaryColumns(params string[] columns)
Parameters
| Type |
Name |
Description |
| 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 |
| string |
table |
|
Returns