DBUniqueConstraint Class |
Namespace: SD.LLBLGen.Pro.DBDriverCore
The DBUniqueConstraint type exposes the following members.
Name | Description | |
---|---|---|
DBUniqueConstraint |
Initializes a new instance of the DBUniqueConstraint class.
| |
DBUniqueConstraint(String) |
Initializes a new instance of the DBUniqueConstraint class.
|
Name | Description | |
---|---|---|
AppliesToTable |
The DBTable instance this constraint applies to.
| |
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.) | |
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.) | |
Fields |
List with DBTableField instances which are included in this Unique Constraint.
| |
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.
(Inherited from DBElementBase.) | |
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.) | |
TypeOfDBElement |
Gets the type of DB element in the form of a ContainedElementType value.
(Overrides DBElementBaseTypeOfDBElement.) |
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 constraint
is marked for deletion and that the uc isn't equal to the primary key.
| |
DeserializeAdditionalAttributes |
Deserializes attributes of this element's base class from the reader.
(Inherited from DBElementBase.) | |
DeserializeFromReader |
Deserializes from reader.
| |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides DBElementBaseDispose.) | |
Equals |
compares two DBUniqueConstraints. It checks if the passed in unique constraint has the same fields as this one.
If not, false is returned, otherwise true.
(Overrides ObjectEquals(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.) | |
GetHashCode |
Override to satisfy the compiler for the Equals override
(Overrides ObjectGetHashCode.) | |
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.) | |
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
| |
ToString | (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
ContainedElementAdded |
Raised when an element was added to a collection (indirectly) contained in this element
(Inherited from DBElementBase.) | |
ContainedElementChanged |
Raised when an element contained in this element was changed.
(Inherited from DBElementBase.) | |
ContainedElementRemoved |
Raised when an element was removed from a collection (indirectly) contained in this element
(Inherited from DBElementBase.) | |
HasBeenChanged |
Raised when the implementing element has been changed
(Inherited from DBElementBase.) | |
HasBeenRemoved |
Raised when the implementing element has been removed from its container
(Inherited from DBElementBase.) | |
PropertyChanged |
Occurs when a property value changes. (INotifyPropertyChanged)
(Inherited from DBElementBase.) |
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.
|