[]
Represents a foreign key relationship between two database tables.
public sealed class ForeignKey
Name | Description |
---|---|
ForeignKey(Table, Table, IEnumerable<Column>, IEnumerable<Column>) | Initializes a new instance of the ForeignKey class. |
Name | Description |
---|---|
Destination | Gets the destination table that is referenced by the foreign key columns in the source table. |
DestinationColumns | Gets the collection of destination columns in the destination table that are referenced by the foreign key. |
Source | Gets the source table that contains the foreign key columns. |
SourceColumns | Gets the collection of source columns in the source table that are part of the foreign key. |