DBTable Methods |
The DBTable type exposes the following members.
Name | Description | |
---|---|---|
ContainsAnyElementOfType |
Determines whether this element directly or indirectly contains at least 1 element of the type specified.
| |
CreateNewField(DBDriverBase, Int32, String, Int32, Int32, Int32, Boolean) |
Creates a new field based on the elements specified. It assumes there are no fields with the name specified already in this target. The field
is added at the end of the fields list.
| |
CreateNewField(DBDriverBase, String, Type, Int32, Int32, Int32, Boolean, Boolean, Int32, LogNode) |
Creates a new field based on the elements specified. It assumes there are no fields with the name specified already in this target. The field
is added at the end of the fields list.
| |
CreateNewFkConstraintIfNecessary |
Creates a new fk constraint if necessary. Flags all fk constraints which are already formed by the Fk fields as deleted first.
| |
CreateNewUcConstraintIfNecessary |
Creates a new uc constraint if necessary on the fields specified. If there's already an existing UC however it's marked as deleted, it's
unmarked as deleted.
| |
DeserializeAdditionalAttributes |
Deserializes attributes of this element's base class from the reader.
(Inherited from DBElementBase.) | |
DeserializeFromReader |
Deserializes from reader. Reader is positioned at the Table element
| |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from DBElementBase.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Exclude |
Excludes this instance from the project / meta-container it's in.
(Inherited from DBSchemaElement.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindFieldByName(String) |
Finds the field with the name specified.
| |
FindFieldByName(String, Boolean) |
Finds the field with the name specified.
| |
FindFKConstraintByName |
Finds the fk constraint with the name specified.
| |
FindFKConstraintsByFieldSets |
Gets the foreign key constraints between the field sets given, or if pkFields isn't specified, defined on the fkFields specified
| |
FindFKConstraintsByFkFields |
Finds the FK constraints defined on the fk fields specified.
| |
FindUCConstraintByName |
Finds the uc constraint with the name specified.
| |
FindUCConstraintsByFieldSet |
Finds the UC constraints defined by the fields specified.
| |
GetAllFkConstraintsReferencingThisTable |
Gets all fk constraints referencing this table.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.) | |
RemoveDuplicateUniqueConstraints |
Removes all the unique constraints which are duplicates of other unique constraints in the list.
| |
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
| |
SetDefaultValuesOnFields |
Sets the default values on fields.
| |
SetPkConstraintNameIfNecessary |
Sets the pk constraint name if necessary to the name specified, after it's been made unique
| |
SetPkFields |
Sets the pk fields.
| |
ToString | (Inherited from DBSchemaElement.) |
Name | Description | |
---|---|---|
IProjectElementMapTargetElementFindFieldByName |
Helper method which will return a reference to a IProjectElementFieldMapTargetElement instance with the given FieldName
|