Click or drag to resize

Database Properties

The Database type exposes the following members.

Properties
  NameDescription
Public propertyApplication
Returns the connected IAppContext object.
Public propertyAttributes
Gets/Sets the Database DatabaseAttrs attributes.
Public propertyCanLogPerformance
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.
Public propertyCommandTimeout
Gets/Sets the CommandTimeout value.
Public propertyConnection
Gets the string used to open the encapsulated IDbConnection.
Public propertyConnectionString
Gets/Sets the connection string of the enclosed IDbConnection object.
Public propertyDatabaseID
This object's ID. Used primarily to load properties for this database
Public propertyDatabaseName
Gets the name of the database associated with this object.
Public propertyDBMSType
Returns the DBMSType of the currently connected database.
Public propertyDBMSVersionMajor
Gets the DBMS major version number or zero if no version can be determined. Use DBMSVersionMinor to get the minor version number.
Public propertyDBMSVersionMinor
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.
Public propertyIsOpen
Returns True if the underlying connection is open
Public propertyLogDBExecutionCacheHits
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.
Public propertyLogDuplicateDBExecutions
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.
Public propertyProperties
Returns the object's properties collection
Public propertyProvider
Gets/Sets the Provider name to use when creating the encapsulated IDbConnection.
Public propertyTrackSPID
Gets/Sets whether the database should track connection SPID's. For Debugging purposes. Use with caution.
Top
See Also