Click or drag to resize

DBSchema Class

Class which contains a database schema's meta data.
Inheritance Hierarchy

Namespace:  SD.LLBLGen.Pro.DBDriverCore
Assembly:  SD.LLBLGen.Pro.DBDriverCore (in SD.LLBLGen.Pro.DBDriverCore.dll) Version: 5.8.0.0 (5.8.21.0208)
Syntax
public class DBSchema : DBElementBase, ISerializableToXml, 
	IExcludable, IDBRenameableElement, ISyncable, INotifyPropertyChanged

The DBSchema type exposes the following members.

Constructors
  NameDescription
Public methodDBSchema
CTor
Top
Properties
  NameDescription
Public propertyAllowsNewElements
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.
Public propertyCreatedByDesigner
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.)
Public propertyCustomProperties
Gets the Custom properties (name - value pairs) read from the schema.
(Inherited from DBElementBase.)
Protected propertyDeserializing
Gets or sets a value indicating whether this instance is deserializing.
(Inherited from DBElementBase.)
Public propertyEffectiveSyncSource
Gets the effective sync source value for this schema, which is either the LocalOverrideSyncSource if that's set, otherwise the SyncSource value.
Public propertyErrorLog
Gets the complete ErrorLog for this object.
(Inherited from DBElementBase.)
Public propertyFullName
Gets the full name.
(Inherited from DBElementBase.)
Public propertyFullNameForXml
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.)
Public propertyFullNameForXmlWithCatalog
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.
(Overrides DBElementBaseFullNameForXmlWithCatalog.)
Public propertyFullNameWithCatalog
Gets the full name with catalog.
Public propertyLastSyncWithDatabaseUTC
Gets or sets the last date/time this schema was synchronized with a database. If null, it means 'never'. DateTime in UTC format.
Public propertyLastSyncWithModelUTC
Gets or sets the last date/time this schema was synchronized with a model. If null, it means 'never'. DateTime in UTC format.
Public propertyLocalOverrideSyncSource
Gets or sets the value to override the sync source with a locally defined value.
Public propertyMarkedForDeletion
Gets or sets a value indicating whether this element is marked for deletion.
(Inherited from DBElementBase.)
Public propertyParentCatalog
Gets the Parent Catalog object which contains this schema object.
Public propertySchemaOwner
The name of the user who owns this schema, the 'username' in [username].[objectname], in Oracle often described as [schema].[tablename].
Public propertySequences
Gets the sequences.
Public propertyStoredProcedures
Gets the stored procedures.
Public propertySyncSource
Gets or sets the synchronize source.
Public propertyTables
Gets the tables.
Public propertyTableValuedFunctions
Gets the table valued functions.
Protected propertyTypeOfDBElement
Gets the type of DB element in the form of a ContainedElementType value.
(Overrides DBElementBaseTypeOfDBElement.)
Public propertyViews
Gets the views.
Top
Methods
  NameDescription
Public methodContainsAnyElementOfType
Determines whether this element directly or indirectly contains at least 1 element of the type specified.
Protected methodDeserializeAdditionalAttributes
Deserializes attributes of this element's base class from the reader.
(Inherited from DBElementBase.)
Public methodDeserializeFromReader
Deserializes from reader. Reader is positioned on the Schema element
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from DBElementBase.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExclude
Excludes this instance from the project / meta-container it's in.
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindSequenceByName(String)
Finds the sequence with the name specified.
Public methodFindSequenceByName(String, Boolean)
Finds the sequence with the name specified.
Public methodFindStoredProcedureByName(String)
Finds the stored procedure with the name specified.
Public methodFindStoredProcedureByName(String, Boolean)
Finds the stored procedure with the name specified.
Public methodFindTableByName(String)
Finds the table with the name specified.
Public methodFindTableByName(String, Boolean)
Finds the table with the name specified.
Public methodFindTableValuedFunctionByName(String)
Finds the table valued function with the name specified.
Public methodFindTableValuedFunctionByName(String, Boolean)
Finds the table valued function with the name specified.
Public methodFindViewByName(String)
Finds the view with the name specified.
Public methodFindViewByName(String, Boolean)
Finds the view with the name specified.
Public methodGetAllMappableTargets
Gets all mappable targets from this schema.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOrCreateSequence
Gets or creates a new sequence.
Public methodGetOrCreateTable
Gets or creates a new table.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleContainedListChangedTChangeType
Handles the contained list changed.
(Inherited from DBElementBase.)
Public methodLogError
Logs an error in the ErrorLog structure of this object.
(Inherited from DBElementBase.)
Public methodLogWarning
Logs the description as a warning.
(Inherited from DBElementBase.)
Protected methodMarkElementAsChangedTChangeType
Marks the element as changed.
(Inherited from DBElementBase.)
Public methodMarkElementAsRemoved
Marks the element as removed, which raises the ElementRemoved event.
(Inherited from DBElementBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveToNewCatalog
Moves this instanced to the new catalog specified. Removes itself from its present containing catalog (if applicable).
Public methodObtainAndInsertFkConstraintObjectsFromMetaData
Obtains the fk constraint objects from meta data and adds them to the tables in this schema.
Public methodObtainAndInsertUniqueConstraintObjectsFromMetaData
Obtains the unique constraint objects from meta data and adds them to the tables in this schema.
Protected methodOnContainedElementAdded
Called when this object received an event of type ContainedElementAdded
(Inherited from DBElementBase.)
Protected methodOnContainedElementChanged
Called when this object received an event of type ContainedElementChanged
(Inherited from DBElementBase.)
Protected methodOnContainedElementRemoved
Called when this object received an event of type ContainedElementRemoved
(Inherited from DBElementBase.)
Protected methodOnPropertyChanged
Raises the PropertyChanged event.
(Inherited from DBElementBase.)
Protected methodPerformAdditionalContainedElementChangedWork
Performs the additional contained element changed work. Override if additional work has to be done after the OnContainedElementChanged method has run.
(Inherited from DBElementBase.)
Public methodResetErrorLog
Resets the Error Log for this object to an empty list.
(Inherited from DBElementBase.)
Protected methodSerializeAdditionalAttributes
Serializes the additional attributes.
(Inherited from DBElementBase.)
Public methodSerializeToWriter
Serializes the data in this class to the serializer passed in
Public methodToString
Returns a String that represents the current Object.
(Overrides ObjectToString.)
Top
Events
  NameDescription
Public eventContainedElementAdded
Raised when an element was added to a collection (indirectly) contained in this element
(Inherited from DBElementBase.)
Public eventContainedElementChanged
Raised when an element contained in this element was changed.
(Inherited from DBElementBase.)
Public eventContainedElementRemoved
Raised when an element was removed from a collection (indirectly) contained in this element
(Inherited from DBElementBase.)
Public eventHasBeenChanged
Raised when the implementing element has been changed
(Inherited from DBElementBase.)
Public eventHasBeenRemoved
Raised when the implementing element has been removed from its container
(Inherited from DBElementBase.)
Public eventPropertyChanged
Occurs when a property value changes. (INotifyPropertyChanged)
(Inherited from DBElementBase.)
Top
Explicit Interface Implementations
See Also