The DatabaseSchema type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| DatabaseSchema()()()() |
This is the default constructor.
| |
| DatabaseSchema(IDbSchemaProvider, String) |
This constructor allows you to specify your own schema provider and set the connection string.
|
Methods
| Name | Description | |
|---|---|---|
| Equals |
Determines if another database is the same as this database.
(Overrides SchemaObjectBase..::..Equals(Object).) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode |
Returns a hashcode based on the database.
(Overrides SchemaObjectBase..::..GetHashCode()()()().) | |
| GetLoadedExtendedProperties |
Gets the existing ExtendedProperties without causing a lazy load.
(Inherited from SchemaObjectBase.) | |
| GetProvider | Obsolete.
Gets a provider by name.
| |
| GetProviders | Obsolete.
Returns a collection of available providers.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MarkLoaded | (Inherited from SchemaObjectBase.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Refresh |
Allows for programmatic refreshing of the database schema.
(Overrides SchemaObjectBase..::..Refresh()()()().) | |
| ToString |
Returns the name of the database.
(Overrides NamedObjectBaseToString()()()().) |
Fields
| Name | Description | |
|---|---|---|
| _database | (Inherited from SchemaObjectBase.) | |
| _dateCreated | (Inherited from SchemaObjectBase.) | |
| _defaultExtendedProperties | (Inherited from SchemaObjectBase.) | |
| _extendedProperties | (Inherited from SchemaObjectBase.) | |
| _gotExtendedProperties | (Inherited from SchemaObjectBase.) |
Properties
| Name | Description | |
|---|---|---|
| Commands |
Provides access to the commands contained in the database.
| |
| ConnectionString |
Gets or sets the current connection string for this instance.
| |
| Database |
Allows access to the DatabaseSchema object that contains this schema object.
(Inherited from SchemaObjectBase.) | |
| DateCreated |
Returns the date this table was created.
(Inherited from SchemaObjectBase.) | |
| DeepLoad |
Gets or sets a value indicating this schema object and all its children will be loaded.
(Inherited from SchemaObjectBase.) | |
| Description |
The description of the object.
(Inherited from SchemaObjectBase.) | |
| ExtendedProperties |
Used to store any additional information about the schema object.
(Inherited from SchemaObjectBase.) | |
| FullName |
Returns the owner and name of the table.
(Inherited from SchemaObjectBase.) | |
| IncludeFunctions |
Gets or sets a value indicating this schema object and all its children will be loaded.
(Inherited from SchemaObjectBase.) | |
| Name |
The name of the database.
(Overrides NamedObjectBaseName.) | |
| Provider |
Gets or sets the current provider for this instance.
| |
| SortName |
Gets the name used to sort in 'Table (Owner)' format.
(Inherited from SchemaObjectBase.) | |
| Tables |
Provides access to the tables contained in the database.
| |
| Views |
Provides access to the views contained in the database.
|