This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Syntax
C# | Copy Code |
---|---|
public abstract class Database |
Visual Basic (Declaration) | Copy Code |
---|---|
Public MustInherit Class Database |
The type exposes the following properties.
Public Properties
Name | Description | |
---|---|---|
ApplicationName |
Gets or sets the application name that is reported on the database connection. (Visible in Sql Traces).
|
|
ConnectionString |
Returns the connection string.
|
|
Current |
Returns the default database of the current user.
|
|
Id |
Returns the Id of this database
|
|
IsCmsDatabase |
Gets if this database is a CMS database. Once set to true, isCmsDatabase can never be set to false again.
|
|
Meta |
Returns meta information about this database.
|
|
ProviderName |
Gets the provider invariant name.
|
|
ServerType |
Returns the database server type.
|
|
ServerVersion |
Gets the dbms version.
|
|
TableCache |
Returns the TableCacheManager for this Database.
|
Protected Properties
Name | Description | |
---|---|---|
CustomVwSchemaProcedureParameters |
Returns the sql query that retrieves data normally returned by VwSchemaProcedureParameters. This sql query is
used for non-Cms databases when vwSchemaTables does not exist.
|
|
CustomVwSchemaProcedures |
Returns the sql query that retrieves data normally returned by vwSchemaTables. This sql query is
used for non-Cms databases when vwSchemaTables does not exist.
|
|
CustomVwSchemaTables |
Returns the sql query that retrieves data normally returned by vwSchemaTables. This sql query is
used for non-Cms databases when vwSchemaTables does not exist.
|
|
Factory |
Gets the factory for this database.
|
|
ParsedConnectionString |
Gets the parsed connection string.
|
See Also
Smartsite.Data Namespace