Click or drag to resize

DatabaseMetaData Class

Container class for meta-data for a given database.
Inheritance Hierarchy
SystemObject
  SD.LLBLGen.Pro.ApplicationCore.MetaDataDatabaseMetaData

Namespace:  SD.LLBLGen.Pro.ApplicationCore.MetaData
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public class DatabaseMetaData : ISerializableToXml, 
	ISyncable, INotifyPropertyChanged

The DatabaseMetaData type exposes the following members.

Constructors
  NameDescription
Public methodDatabaseMetaData
Initializes a new instance of the DatabaseMetaData class.
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 propertyConnectionElements
Gets the connection elements.
Public propertyDriverID
Gets the driver ID for the driver this database metadata belongs to.
Public propertyLastSyncWithDatabaseUTC
Gets or sets the last date/time this element was synchronized with a database. If null, it means 'never'. DateTime in UTC format.
Public propertyLastSyncWithModelUTC
Gets or sets the last date/time this element was synchronized with a model. If null, it means 'never'. DateTime in UTC format.
Public propertyName
Gets the name.
Public propertyPopulatedCatalogs
Gets the populated catalogs.
Public propertySyncSource
Gets or sets the synchronize source.
Public propertySystemSequences
Gets the system sequences.
Top
Methods
  NameDescription
Public methodContainsAnyElementOfType
Determines whether this element directly or indirectly contains at least 1 element of the type specified.
Public methodDeserializeFromReader
Deserializes this instance from reader. Reader is positioned on the TargetDatabase element
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
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 methodFindCatalogByName(String)
Finds the catalog with the name specified (case sensitive)
Public methodFindCatalogByName(String, Boolean)
Finds the catalog with the name specified (case sensitive)
Public methodGetAllForeignKeyConstraints
Gets all foreign key constraints from all tables in this container
Public methodGetAllMappableTargets
Gets all mappable targets from all catalogs in this meta-data store
Public methodGetAllSchemaSequences
Gets all schema sequences from all catalogs in this database meta data object.
Public methodGetAllSchemasFilteredBySyncSource
Gets all schemas filtered by synchronize source.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOrCreateSequence
Gets or creates a new sequence. If catalog and /or schema aren't available, these are created as well.
Public methodGetOrCreateTable
Gets or creates a new table. If catalog and /or schema aren't available, these are created as well.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSerializeToWriter
Serializes the data in this class to the serializer passed in
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidateCatalogName
Validates the name of the catalog.
Public methodValidateSchemaName
Validates the name of the schema.
Public methodValidateSequenceName
Validates the name of the sequence.
Public methodValidateTableFieldName
Validates the name of the table field.
Public methodValidateTableName
Validates the name of the table.
Top
Events
  NameDescription
Public eventContainedElementAdded
Raised when an element was added to a collection (indirectly) contained in this element
Public eventContainedElementChanged
Raised when an element contained in this element was changed.
Public eventContainedElementRemoved
Raised when an element was removed from a collection (indirectly) contained in this element
Public eventHasBeenChanged
Raised when a property on this object has been changed.
Public eventPropertyChanged
Occurs when a property value changes.
Top
See Also