Click or drag to resize

Oid Methods

The Oid type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAsString
Builds a string with DatabaseNumber-PageNumber-SlotNumber
Public methodCompareTo
Compares two Oid objects by id
Public methodStatic memberDatabaseNumber
Extracts the Database number
Public methodStatic memberEncode(UInt32, UInt32)
Constructs a UInt64 from the components Database number and an encoded UInt32 contains page and slot number
Public methodStatic memberEncode(UInt32, UInt16, UInt16)
Constructs a UInt64 from the components Database number, Page number and page number
Public methodEquals
Compares by Id
Public methodGetHashCode
Computes a hash code based on Id.
(Overrides ValueTypeGetHashCode.)
Public methodGetHashCode(Oid)
Returns a hash code for the specified object.
Public methodStatic memberIdFromString
Public methodStatic memberPageNumber
Extracts the Page number
Public methodStatic memberSamePageAs
Find out if Page number is the same in two different UInt64 numbers (encoded Oid)
Public methodStatic memberSlotNumber(UInt64)
Extracts the page number
Public methodStatic memberSlotNumber(UInt64, UInt16)
Sets the page number
Public methodToString
Builds a string with DatabaseNumber-PageNumber-SlotNumber
(Overrides ValueTypeToString.)
Top
See Also