OidShort Structure |
Namespace: VelocityDb
The OidShort type exposes the following members.
Name | Description | |
---|---|---|
OidShort(UInt32) |
Constructs an OidShort given a 32bit number
| |
OidShort(UInt64) |
Constructs an OidShort given a 64bit number by using the 32 lower bits
|
Name | Description | |
---|---|---|
AsString |
Builds a string with DatabaseNumber-PageNumber-SlotNumber
| |
Compare |
Compares by Id
| |
CompareTo |
Compares two OidShort objects by id
| |
Encode |
Merges a page number and a page number into a single number
| |
Equals(Object) | Indicates whether this instance and a specified object are equal. (Overrides ValueTypeEquals(Object).) | |
Equals(OidShort, OidShort) | Determines whether the specified objects are equal. | |
GetHashCode | Returns the hash code for this instance. (Overrides ValueTypeGetHashCode.) | |
GetHashCode(OidShort) | Returns a hash code for the specified object. | |
PageNumber |
Extracts a Page number from a combined Page-Slot number
| |
SamePageAs |
Determines if two encoded OidShort have the same Page number
| |
SlotNumber(UInt32) |
Extracts a page number
| |
SlotNumber(UInt32, UInt16) |
Sets a page number
| |
ToString |
Builds a string with PageNumber-SlotNumber
(Overrides ValueTypeToString.) |
Name | Description | |
---|---|---|
Equality |
Compares id of two OidShort
| |
Inequality |
Compares id of two OidShort
|