View Source
Class CreateForeignKeyBuilder
Inheritance
System.Object
Assembly: Umbraco.Infrastructure.dll
Syntax
public class CreateForeignKeyBuilder : ExpressionBuilderBase<CreateForeignKeyExpression>, ICreateForeignKeyFromTableBuilder, ICreateForeignKeyForeignColumnBuilder, ICreateForeignKeyToTableBuilder, ICreateForeignKeyPrimaryColumnBuilder, ICreateForeignKeyCascadeBuilder, IFluentBuilder, IExecutableBuilder
Constructors
View Source
CreateForeignKeyBuilder(CreateForeignKeyExpression)
Declaration
public CreateForeignKeyBuilder(CreateForeignKeyExpression expression)
Parameters
Methods
View Source
Do()
Declaration
View Source
ForeignColumn(String)
Declaration
public ICreateForeignKeyToTableBuilder ForeignColumn(string column)
Parameters
Type |
Name |
Description |
System.String |
column |
|
Returns
View Source
ForeignColumns(String[])
Declaration
public ICreateForeignKeyToTableBuilder ForeignColumns(params string[] columns)
Parameters
Type |
Name |
Description |
System.String[] |
columns |
|
Returns
View Source
FromTable(String)
Declaration
public ICreateForeignKeyForeignColumnBuilder FromTable(string table)
Parameters
Type |
Name |
Description |
System.String |
table |
|
Returns
View Source
OnDelete(Rule)
Declaration
public ICreateForeignKeyCascadeBuilder OnDelete(Rule rule)
Parameters
Type |
Name |
Description |
System.Data.Rule |
rule |
|
Returns
View Source
OnDeleteOrUpdate(Rule)
Declaration
public IExecutableBuilder OnDeleteOrUpdate(Rule rule)
Parameters
Type |
Name |
Description |
System.Data.Rule |
rule |
|
Returns
View Source
OnUpdate(Rule)
Declaration
public ICreateForeignKeyCascadeBuilder OnUpdate(Rule rule)
Parameters
Type |
Name |
Description |
System.Data.Rule |
rule |
|
Returns
View Source
PrimaryColumn(String)
Declaration
public ICreateForeignKeyCascadeBuilder PrimaryColumn(string column)
Parameters
Type |
Name |
Description |
System.String |
column |
|
Returns
View Source
PrimaryColumns(String[])
Declaration
public ICreateForeignKeyCascadeBuilder PrimaryColumns(params string[] columns)
Parameters
Type |
Name |
Description |
System.String[] |
columns |
|
Returns
View Source
ToTable(String)
Declaration
public ICreateForeignKeyPrimaryColumnBuilder ToTable(string table)
Parameters
Type |
Name |
Description |
System.String |
table |
|
Returns