An immutable class that represents GUID values. This class can be constructed from either a
or a
array.
The following tables list the members exposed by Id.
Public Constructors
Public Fields
Public Methods
Name | Description | |
---|---|---|
![]() |
CompareTo | Compares two IDs. This method returns -1 if this is less than , 1 if this is greater than , and 0 if the IDs are equal. This comparison is consistent with how IDs are compared in the DB2 and Oracle databases, but does not match how MSSQL Server compares IDs. For MSSQL Server databases, use |
![]() ![]() |
CreateId | Generates an ID with an IETF Version 4 UUID value. This value is based on the Internet Engineering Task Force (IETF) UUID specification using the runtime method. |
![]() |
Equals | Overloaded. Compares two IDs for logical equality. |
![]() |
GetBytes | Returns a copy of this ID as an array of . |
![]() |
GetHashCode | Overridden. Returns the hashcode for this ID. |
![]() |
GetObjectData | This method is exposed to satisfy the interface. |
![]() |
GetType | Gets the |
![]() ![]() |
IsId | Determines if a is an ID or not. |
![]() ![]() |
op_Equality | Determines whether two specified objects are the same. |
![]() ![]() |
op_Inequality | Determines whether two specified objects are not the same. |
![]() |
ToString | Overridden. Returns the representation of this ID. |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | Allows an |
![]() |
MemberwiseClone | Creates a shallow copy of the current |