Database Properties |
The Database type exposes the following members.
Name | Description | |
---|---|---|
AllowOtherTypesOnSamePage |
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.) | |
CachedVerified |
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.
| |
FileInfo | ||
FileStream | ||
HighestPageNumber |
Indicates the highest tryPageNumber number currently in use for this database.
| |
IsDeleted |
Gets info about this Database about to be deleted or not.
| |
IsLocal |
Gets info about this Database being on the local host or not.
| |
IsNew |
Indicates if database was created in the current transactionNumber
| |
IsUpdated |
Gets the updated state of the object
(Overrides OptimizedPersistableIsUpdated.) | |
Location |
The DatabaseLocation of this Database
| |
Name |
Optional name associated with a Database
| |
NumberOfPages |
Indicates how many pages this database contains.
| |
ObjectCachingDefaultPolicy |
Default strategy for this Database, defaults to ObjectCachingDefaultPolicy.
(strategy is not persisted)
| |
PageCacheEnabled | ||
PageOffset |