The DatabaseSchema type exposes the following members.

Constructors

  NameDescription
Public methodDatabaseSchema()()()()
This is the default constructor.
Public methodDatabaseSchema(IDbSchemaProvider, String)
This constructor allows you to specify your own schema provider and set the connection string.

Methods

  NameDescription
Public methodEquals
Determines if another database is the same as this database.
(Overrides SchemaObjectBase..::..Equals(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 methodGetHashCode
Returns a hashcode based on the database.
(Overrides SchemaObjectBase..::..GetHashCode()()()().)
Public methodGetLoadedExtendedProperties
Gets the existing ExtendedProperties without causing a lazy load.
(Inherited from SchemaObjectBase.)
Public methodGetProvider Obsolete.
Gets a provider by name.
Public methodGetProviders Obsolete.
Returns a collection of available providers.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodMarkLoaded (Inherited from SchemaObjectBase.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRefresh
Allows for programmatic refreshing of the database schema.
(Overrides SchemaObjectBase..::..Refresh()()()().)
Public methodToString
Returns the name of the database.
(Overrides NamedObjectBaseToString()()()().)

Fields

  NameDescription
Protected field_database (Inherited from SchemaObjectBase.)
Protected field_dateCreated (Inherited from SchemaObjectBase.)
Protected field_defaultExtendedProperties (Inherited from SchemaObjectBase.)
Protected field_extendedProperties (Inherited from SchemaObjectBase.)
Protected field_gotExtendedProperties (Inherited from SchemaObjectBase.)

Properties

  NameDescription
Public propertyCommands
Provides access to the commands contained in the database.
Public propertyConnectionString
Gets or sets the current connection string for this instance.
Public propertyDatabase
Allows access to the DatabaseSchema object that contains this schema object.
(Inherited from SchemaObjectBase.)
Public propertyDateCreated
Returns the date this table was created.
(Inherited from SchemaObjectBase.)
Public propertyDeepLoad
Gets or sets a value indicating this schema object and all its children will be loaded.
(Inherited from SchemaObjectBase.)
Public propertyDescription
The description of the object.
(Inherited from SchemaObjectBase.)
Public propertyExtendedProperties
Used to store any additional information about the schema object.
(Inherited from SchemaObjectBase.)
Public propertyFullName
Returns the owner and name of the table.
(Inherited from SchemaObjectBase.)
Public propertyIncludeFunctions
Gets or sets a value indicating this schema object and all its children will be loaded.
(Inherited from SchemaObjectBase.)
Public propertyName
The name of the database.
(Overrides NamedObjectBaseName.)
Public propertyProvider
Gets or sets the current provider for this instance.
Public propertySortName
Gets the name used to sort in 'Table (Owner)' format.
(Inherited from SchemaObjectBase.)
Public propertyTables
Provides access to the tables contained in the database.
Public propertyViews
Provides access to the views contained in the database.

See Also