DBCatalog Class |
Namespace: SD.LLBLGen.Pro.DBDriverCore
The DBCatalog type exposes the following members.
Name | Description | |
---|---|---|
DBCatalog(String) |
CTor
| |
DBCatalog(String, String) |
CTor
|
Name | Description | |
---|---|---|
AllowsNewElements |
Gets a value indicating whether new elements can be created into this container. Returns true if sync source is set to Model or Mixed, false otherwise.
| |
CatalogName |
The name of the catalog
| |
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.) | |
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.) | |
LastSyncWithDatabaseUTC |
Gets or sets the last date/time this element was synchronized with a database. If null, it means 'never'. DateTime in UTC format.
| |
LastSyncWithModelUTC |
Gets or sets the last date/time this element was synchronized with a model. If null, it means 'never'. DateTime in UTC format.
| |
MarkedForDeletion |
Gets or sets a value indicating whether this element is marked for deletion.
(Inherited from DBElementBase.) | |
Schemas |
List of schemas in this catalog
| |
SyncSource |
Gets or sets the synchronize source.
| |
TypeOfDBElement |
Gets the type of DB element in the form of a ContainedElementType value.
(Overrides DBElementBaseTypeOfDBElement.) | |
UsedDriverID |
Gets the driver ID of the driver used to fill the catalog's meta-data.
|
Name | Description | |
---|---|---|
CheckIfAllMetaDataIsNew |
Checks if all meta data in this catalog is new.
| |
CheckIfDDLSQLExportActionIsRequired |
Checks if a DDL SQL export action is required for the meta-data in this object
| |
ContainsAnyElementOfType |
Determines whether this element directly or indirectly contains at least 1 element of the type specified.
| |
DeserializeAdditionalAttributes |
Deserializes attributes of this element's base class from the reader.
(Inherited from DBElementBase.) | |
DeserializeFromReader |
Deserializes from reader. Reader is positioned on the Catalog 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.
| |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FindSchemaByName(String) |
Finds the schema with the name specified.
| |
FindSchemaByName(String, Boolean) |
Finds the schema with the name specified.
| |
GetAllChangedElements |
Gets all changed elements of type typeOfElementsToRetrieve
| |
GetAllConstraintsToDropForUpdate |
Gets all constraints of type typeOfElementsToRetrieve from this catalog which affect a changed element. Used for update DDL SQL scripts
to be able to drop constraints before DDL SQL statements are executed. If typeofElementsToRetrieve isn't a constraint type, an empty
set is returned.
| |
GetAllElementNames |
Gets the element names of all elements contained in this catalog in DBSchemaElementNameContainer instances
| |
GetAllElementsMarkedForDeletion |
Gets all elements of type typeOfElementsToRetrieve from this catalog which are marked for deletion
| |
GetAllFkConstraintsReferencingTable |
Gets all fk constraints which reference the specified table as the pk side.
| |
GetAllMappableTargets |
Gets all mappable targets from this catalog from all its schemas.
| |
GetAllNewElements |
Gets all new elements of type typeOfElementsToRetrieve
| |
GetAllRenamedElements |
Gets all renamed elements of type typeOfElementsToRetrieve from this catalog
| |
GetAllSchemasFilteredBySyncSource |
Gets all schemas filtered by synchronize source.
| |
GetAllUsedConstraintNames |
Gets all used constraint names in all schemas in this catalog. All names are added lowercase.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetOrCreateSchemaForNewSubElement |
Finds or creates the schema with the name specified. If a schema with the name specified is found, it has to accept new elements according to its
sync source, otherwise a new one is created, if this catalog accepts new elements, otherwise null is returned.
| |
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.) | |
MarkInvalidFkAndUniqueConstraintsForDeletion |
Marks the invalid fk and unique constraints for deletion. If the containing schema has its sync source set to 'database', the elements are ignored.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ObtainAndInsertFkConstraintObjectsFromMetaData |
Obtains the fk constraint objects from meta data and adds them to the tables in the schemas in this catalog.
| |
ObtainAndInsertUniqueConstraintObjectsFromMetaData |
Obtains the unique constraint objects from meta data and adds them to the tables in the schemas in this catalog.
| |
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.
(Overrides DBElementBasePerformAdditionalContainedElementChangedWork(ContainedElementActionEventArgs).) | |
PerformPostDDLSQLExportActions |
Performs the post DDLSQL export actions, which means that all change trackers are reset, all elements marked for deletion are removed and
all elements which are marked as created by designer have their flag reset.
| |
ResetErrorLog |
Resets the Error Log for this object to an empty list.
(Inherited from DBElementBase.) | |
RetrieveRelationshipModel |
Retrieves all the relationships between all known tables in all schemas of the catalog passed in, into a graph.
| |
SerializeAdditionalAttributes |
Serializes the additional attributes.
(Inherited from DBElementBase.) | |
SerializeToWriter |
Serializes the data in this class to the serializer passed in
| |
SetDateTimeOnModelSyncedSchemas |
Sets the date time of last sync on model synced schemas. This is required as the last step to avoid a lot of logic inside the schemas: we know which elements are
synced, so we can set the date in one swoop
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
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.
| |
ISyncableName |
Gets the name.
|