Class ForeignKeyConstraint
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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
Type | Name | Description |
---|---|---|
System.Collections.Generic.IList<System.String> | columnNames | |
System.Collections.Generic.IList<System.String> | referenceColumnNames | |
System.String | referenceTableName |
ForeignKeyConstraint(String, String, String)
Declaration
public ForeignKeyConstraint(string columnName, string referenceColumnName, string referenceTableName)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnName | |
System.String | referenceColumnName | |
System.String | referenceTableName |
Properties
OnDeleteCascade
Declaration
public bool OnDeleteCascade { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
ReferenceColumnNames
Declaration
public ICollection<string> ReferenceColumnNames { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<System.String> |
ReferenceTableName
Declaration
public string ReferenceTableName { get; set; }
Property Value
Type | Description |
---|---|
System.String |