Click or drag to resize
DBForeignKeyConstraint Properties

The DBForeignKeyConstraint type exposes the following members.

Properties
  NameDescription
Public propertyAppliesToTable
The DBTable instance this constraint applies to, which is the 'FK side'
Public propertyConstraintName
The literal name for the constraint.
Public propertyCreatedByDesigner
Gets or sets a value indicating whether this element is created by the designer from mappings (true) or that it was created from meta-data retrieved from the database (false, default).
(Inherited from DBElementBase.)
Public propertyCustomProperties
Gets the Custom properties (name - value pairs) read from the schema.
(Inherited from DBElementBase.)
Public propertyDeleteRuleAction
Gets or sets the update rule action.
Protected propertyDeserializing
Gets or sets a value indicating whether this instance is deserializing.
(Inherited from DBElementBase.)
Public propertyErrorLog
Gets the complete ErrorLog for this object.
(Inherited from DBElementBase.)
Public propertyFkFieldsFormFullPk
Gets a value indicating whether the fk fields together form the PK of the table this FK constraint applies to.
Public propertyForeignKeyFields
List of DBTableField instances of the foreign key in this relation. DBTableField instances have an DBTable reference for upward navigation. FK constraints which span multiple catalogs are not supported. The fields in the foreign key correspond with the fields in the primary key based on the index, thus the field on position 0 in the ForeignKeyFields array, corresponds with the field on position 0 in the PrimaryKeyFields array.
Public propertyFullName
Gets the full name.
(Inherited from DBElementBase.)
Public propertyFullNameForXml
Gets the full name for XML. This is a name which has the format schemaname:elementname or schemaname:elementname:fieldname. Used for references.
(Overrides DBElementBaseFullNameForXml.)
Public propertyFullNameForXmlWithCatalog
Gets the full name for XML. This is a name which has the format catalogname:schemaname:elementname or catalogname:schemaname:elementname:fieldname. Used for references.
(Inherited from DBElementBase.)
Public propertyMarkedForDeletion
Gets or sets a value indicating whether this element is marked for deletion.
(Inherited from DBElementBase.)
Public propertyPKSide
Gets the PK side of this FK. FK side is 'AppliesToTable'
Public propertyPrimaryKeyFields
List of DBTableField instances of the primary key in this relation. DBTableField instances have an DBTable reference for upward navigation. FK constraints which span multiple catalogs are not supported. Single column primary keys will have just 1 entry in this array, multi-column primary keys will have per column one entry.
Protected propertyTypeOfDBElement
Gets the type of DB element in the form of a ContainedElementType value.
(Overrides DBElementBaseTypeOfDBElement.)
Public propertyUpdateRuleAction
Gets or sets the update rule action.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate propertyIDBRenameableElementIsRenamed
Gets a value indicating whether this instance is renamed to a new value.
Explicit interface implementationPrivate propertyIDBRenameableElementNewName
Gets the new name, if the element was renamed, otherwise the original name
Explicit interface implementationPrivate propertyIDBRenameableElementOriginalName
Gets the original name of the element.
Top
See Also