Click or drag to resize

Database Properties

The Database type exposes the following members.

Public propertyAllowOtherTypesOnSamePage
We want to be sure that the object representing a Database can share its page with other objects so override AllowOtherTypesOnSamePage and return true.
(Overrides OptimizedPersistableAllowOtherTypesOnSamePage.)
Public propertyCachedVerified
Setting this property to false will trigger a comparison of the cached version of the Database with the on disk version. Each new transaction also sets this property to false for all cached databases. You may alternatively use the session API ForceDatabaseCacheValidation() to trigger validation of all cached databases. Setting it to false when the Database has been updated in the current transaction is ignored.
Public propertyFileInfo
FileInfo for this Database, not set for ServerClientSession
Public propertyFileStream
Stream used for reading and writing this Database
Public propertyHighestPageNumber
Indicates the highest tryPageNumber number currently in use for this database.
Public propertyIsDeleted
Gets info about this Database about to be deleted or not.
Public propertyIsLocal
Gets info about this Database being on the local host or not.
Public propertyIsNew
Indicates if database was created in the current transactionNumber
Public propertyIsUpdated
Gets the updated state of the object
(Overrides OptimizedPersistableIsUpdated.)
Public propertyLocation
The DatabaseLocation of this Database
Public propertyName
Optional name associated with a Database
Public propertyNumberOfPages
Indicates how many pages this database contains.
Public propertyObjectCachingDefaultPolicy
Default strategy for this Database, defaults to ObjectCachingDefaultPolicy. (strategy is not persisted)
Public propertyPageCacheEnabled
Turns on or off Page caching for this Database
Public propertyPageOffset
See Also