Click or drag to resize

IDatabase Properties

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