DBForeignKeyConstraint Properties |
The DBForeignKeyConstraint type exposes the following members.
Name | Description | |
---|---|---|
AppliesToTable |
The DBTable instance this constraint applies to, which is the 'FK side'
| |
ConstraintName |
The literal name for the constraint.
| |
CreatedByDesigner |
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.) | |
CustomProperties |
Gets the Custom properties (name - value pairs) read from the schema.
(Inherited from DBElementBase.) | |
DeleteRuleAction |
Gets or sets the update rule action.
| |
Deserializing |
Gets or sets a value indicating whether this instance is deserializing.
(Inherited from DBElementBase.) | |
ErrorLog |
Gets the complete ErrorLog for this object.
(Inherited from DBElementBase.) | |
FkFieldsFormFullPk |
Gets a value indicating whether the fk fields together form the PK of the table this FK constraint applies to.
| |
ForeignKeyFields |
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.
| |
FullName |
Gets the full name.
(Inherited from DBElementBase.) | |
FullNameForXml |
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.) | |
FullNameForXmlWithCatalog |
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.) | |
MarkedForDeletion |
Gets or sets a value indicating whether this element is marked for deletion.
(Inherited from DBElementBase.) | |
PKSide |
Gets the PK side of this FK. FK side is 'AppliesToTable'
| |
PrimaryKeyFields |
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.
| |
TypeOfDBElement |
Gets the type of DB element in the form of a ContainedElementType value.
(Overrides DBElementBaseTypeOfDBElement.) | |
UpdateRuleAction |
Gets or sets the update rule action.
|
Name | Description | |
---|---|---|
IDBRenameableElementIsRenamed |
Gets a value indicating whether this instance is renamed to a new value.
| |
IDBRenameableElementNewName |
Gets the new name, if the element was renamed, otherwise the original name
| |
IDBRenameableElementOriginalName |
Gets the original name of the element.
|