IDatabase Properties |
The IDatabase 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 |
Gets/Sets the database ID.
| |
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.
| |
ID |
Gets the object's unique identifier.
(Inherited from IEAPBase.) | |
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 |
The Properties collection of Property objects for this object.
(Inherited from IEAPBase.) | |
Provider |
Gets/Sets the Provider name to use when creating the encapsulated IDbConnection.
| |
TextItems | (Inherited from IEAPBase.) | |
TrackSPID |
Gets/Sets whether the database should track connection SPID's. For Debugging purposes. Use with caution. | |
Version |
Gets/sets the version of this object's assembly.
(Inherited from IEAPBase.) |