DBForeignKeyConstraint Methods |
The DBForeignKeyConstraint type exposes the following members.
Name | Description | |
---|---|---|
CheckIfIsValid |
Determines whether this instance is valid. Valid means that the constraint isn't marked for deletion and also none of the fields in the Fk constraint
is marked for deletion. Will return false if IsCorrect returns false
| |
DeserializeAdditionalAttributes |
Deserializes attributes of this element's base class from the reader.
(Inherited from DBElementBase.) | |
DeserializeFromReader |
Deserializes the data of this instance from reader.
| |
DetermineRelationshipType |
Determines the relationship type formed by this foreign key constraint.
| |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides DBElementBaseDispose.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetFkFieldRelatedToPkField |
Gets the fk field related to the pk field specified
| |
GetFkPkFieldPairs |
Gets the fkfield - pkfield pairs. Each pair has for Value1 the fk field and for Value2 the pk field.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetUniqueConstraintUsedByFk |
Gets the unique constraint used by fk. If this FK constraint is a 1:1 fk constraint, and the Fk side is not a PK, it has to be that the FK constraint
uses a unique constraint in the FK table which is equal to the set of FK fields. If that's the case, this method returns that unique constraint, otherwise
null.
| |
HandleContainedListChangedTChangeType |
Handles the contained list changed.
(Inherited from DBElementBase.) | |
LogError |
Logs an error in the ErrorLog structure of this object.
(Inherited from DBElementBase.) | |
LogWarning |
Logs the description as a warning.
(Inherited from DBElementBase.) | |
MarkElementAsChangedTChangeType |
Marks the element as changed.
(Inherited from DBElementBase.) | |
MarkElementAsRemoved |
Marks the element as removed, which raises the ElementRemoved event.
(Inherited from DBElementBase.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnContainedElementAdded |
Called when this object received an event of type ContainedElementAdded
(Inherited from DBElementBase.) | |
OnContainedElementChanged |
Called when this object received an event of type ContainedElementChanged
(Inherited from DBElementBase.) | |
OnContainedElementRemoved |
Called when this object received an event of type ContainedElementRemoved
(Inherited from DBElementBase.) | |
OnPropertyChanged |
Raises the PropertyChanged event.
(Inherited from DBElementBase.) | |
PerformAdditionalContainedElementChangedWork |
Performs the additional contained element changed work. Override if additional work has to be done after the OnContainedElementChanged method has run.
(Inherited from DBElementBase.) | |
ResetErrorLog |
Resets the Error Log for this object to an empty list.
(Inherited from DBElementBase.) | |
SerializeAdditionalAttributes |
Serializes the additional attributes.
(Inherited from DBElementBase.) | |
SerializeToWriter |
Serializes the data in this class to the serializer passed in
| |
SetNewPkSide |
Sets the new pk side. If there's no way the specified pk side can be made the pk side of this FK, the PK side will be empty (null). Calling this method
always resets the current PK side of this FK.
| |
ToString | (Overrides ObjectToString.) |