DBCatalog Methods |
The DBCatalog type exposes the following members.
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.
| |
ContainsLocalSyncOverrides |
Returns true if there's at least one schema which has a localsyncsourceoverride set.
| |
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.
| |
GetAllTables |
Gets all tables in this catalog, over all schemas.
| |
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.) | |
LoadLocalSyncSourceOverrides |
Loads the local sync source overrides from the file open by the reader specified, for the schemas in this catalog.
| |
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.
| |
SaveLocalSyncSourceOverrides |
Saves the local sync source overrides for this catalog to the file open by the writer specified. Assumes there's at least one schema with LocalOverrideSyncSource
set to a value.
| |
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.) |