Click or drag to resize

Database Methods

The Database type exposes the following members.

Methods
  NameDescription
Public methodAllObjectsT
Gets an object used for enumerating all objects in this Database
Public methodBytes
Avoid using this one for now, internal use.
Public methodCachedPage
Try to retrieve a cached Page
Public methodCloneAs
Any Database that only uses OidShort references can be cloned without changing any of the internals of the Database. This function simply copies the Database file. It is the user's responsibility to know that only OidShort references are used within the Database or else such references will still keep the original Database number.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEquals(Database)
Compares by version and page 0 offset
Public methodEquals(Database, Database)
Determines whether the specified objects are equal.
Public methodGetEnumerator
Gets an enumerable sequence of all the pages in this database.
Public methodGetHashCode
Returns a hash code for the specified object.
Public methodOfType
Gets an object used for enumerating all objects in this Database."/>
Public methodPages
Gets an enumerable sequence of all the pages in this database.
Public methodReadMe (Overrides OptimizedPersistableReadMe(TypeVersion, Byte, Int32, SessionBase, Page, Boolean, Schema, Boolean, ListIOptimizedPersistable, Int32, Int32, Boolean).)
Public methodToString
Displays class name plus object id
(Overrides OptimizedPersistableToString.)
Public methodWritePageBytes
Top
Extension Methods
  NameDescription
Public Extension MethodToStringDetails(SessionBase, Boolean)Overloaded.
Object details as a string
(Defined by Utilities.)
Public Extension MethodToStringDetails(Schema, TypeVersion, Boolean)Overloaded.
Currently only used by Database Manager
(Defined by Utilities.)
Top
See Also