The ForeignKey type exposes the following members.

Properties

  NameDescription
ColumnCollection
Gets an ICollection of Column objects that are part of the constraint.
(Inherited from Constraint.)
ColumnSpan
Gets the number of columns that this Constraint contains.
(Inherited from Constraint.)
Name
Gets or sets the Name used to identify the constraint in the database.
(Inherited from Constraint.)
ReferencedClass
Gets or sets the Type that this Foreign Key is referencing.
ReferencedTable
Gets or sets the Table that the Foreign Key is referencing.
Table
Gets or sets the Table this Constraint is in.
(Inherited from Constraint.)

See Also