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