Database Properties |
The Database type exposes the following members.
Name | Description | |
---|---|---|
Application |
Returns the connected IAppContext object.
| |
Attributes |
Gets/Sets the Database DatabaseAttrs attributes.
| |
CanLogPerformance |
Gets/Sets whether the database can begin to log performance requests.
If an application is set (via Logging Feature) to utilize a Diagnostic Service,
we can't begin logging database requests until the application has completed loading Feature collections.
Otherwise the request for features causes a recursion in the database code.
| |
CommandTimeout |
Gets/Sets the CommandTimeout value.
| |
Connection |
Gets the string used to open the encapsulated IDbConnection.
| |
ConnectionString |
Gets/Sets the connection string of the enclosed IDbConnection object.
| |
DatabaseID |
This object's ID. Used primarily to load properties for this database
| |
DatabaseName |
Gets the name of the database associated with this object.
| |
DBMSType |
Returns the DBMSType of the currently connected database.
| |
DBMSVersionMajor |
Gets the DBMS major version number or zero if no version can be determined.
Use DBMSVersionMinor to get the minor version number.
| |
DBMSVersionMinor |
Gets the DBMS minor version number.
Note that the minor version number is valid only if DBMSVersionMajor, the
major version number, is positive.
Use DBMSVersionMajor to get the major version number.
| |
IsOpen |
Returns True if the underlying connection is open
| |
LogDBExecutionCacheHits |
Gets/Sets whether the database should log (to devlog) cache hits/misses on DBExecutions (DBLookup, DBExists, DBCount) within same thread context. For Debugging purposes. Use with caution. | |
LogDuplicateDBExecutions |
Gets/Sets whether the database should log (to devlog) duplicate requests for DB Executions (DBLookup, DBExists, DBCount) within same thread context. For Debugging purposes. Use with caution. | |
Properties |
Returns the object's properties collection
| |
Provider |
Gets/Sets the Provider name to use when creating the encapsulated IDbConnection.
| |
TrackSPID |
Gets/Sets whether the database should track connection SPID's. For Debugging purposes. Use with caution. |