[]
Initializes a new instance of the ForeignKey class.
public ForeignKey(Table source, Table destination, IEnumerable<Column> sourceColumns, IEnumerable<Column> destinationColumns)
Type | Name | Description |
---|---|---|
Table | source | The source Table. |
Table | destination | The destination Table. |
IEnumerable<Column> | sourceColumns | The collection of the Column that defines a source table. |
IEnumerable<Column> | destinationColumns | The collection of the Column that defines a destination table. |
Type | Condition |
---|---|
ArgumentNullException | Thrown if one of the arguments |