Skip to main content

DBForeignKey Members

The foreign key of a table.

Constructors

Name Description
DBForeignKey() Initializes a new instance of the DBForeignKey class with default settings.
DBForeignKey(ICollection, String, StringCollection) Initializes a new instance of the DBForeignKey class with the specified settings.

Fields

Name Description
Columns Specifies a collection of strings that are the names of the columns comprising the DBTableMultiColumnGadget object. In the DBPrimaryKey descendant class, these columns are primary keys. In DBForeignKey, these are foreign keys. In DBIndex, these are columns comprising the index. Inherited from DBTableMultiColumnGadget.
Name This member supports the XPO Framework infrastructure and is not intended to be used directly from your code. Inherited from DBTableMultiColumnGadget.
PrimaryKeyTable Specifies the name of a primary key table.
PrimaryKeyTableKeyColumns A collection of strings that specify the names of columns that function as primary keys for a table.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also