ForeignKeyConstraint

Class ForeignKeyConstraint

Inheritance
ForeignKeyConstraint
Implements
Namespace: ETLBox.ControlFlow
Assembly: ETLBox.dll
Syntax
    public sealed class ForeignKeyConstraint : Constraint, IConstraint

Constructors

ForeignKeyConstraint()

Declaration
    public ForeignKeyConstraint()

ForeignKeyConstraint(IList<string>, IList<string>, string)

Declaration
    public ForeignKeyConstraint(IList<string> columnNames, IList<string> referenceColumnNames, string referenceTableName)
Parameters
TypeNameDescription
IList<string>columnNames
IList<string>referenceColumnNames
stringreferenceTableName

ForeignKeyConstraint(string, string, string)

Declaration
    public ForeignKeyConstraint(string columnName, string referenceColumnName, string referenceTableName)
Parameters
TypeNameDescription
stringcolumnName
stringreferenceColumnName
stringreferenceTableName

Properties

OnDeleteCascade

Declaration
    public bool OnDeleteCascade { get; set; }
Property Value
TypeDescription
bool

ReferenceColumnNames

Declaration
    public ICollection<string> ReferenceColumnNames { get; set; }
Property Value
TypeDescription
ICollection<string>

ReferenceTableName

Declaration
    public string ReferenceTableName { get; set; }
Property Value
TypeDescription
string

Implements