SqlGuid Structure
.NET Framework 4.5
Represents a GUID to be stored in or retrieved from a database.
Namespace: System.Data.SqlTypes
Assembly: System.Data (in System.Data.dll)
The SqlGuid type exposes the following members.
| Name | Description | |
|---|---|---|
![]() ![]() | SqlGuid(Byte[]) | Initializes a new instance of the SqlGuid structure using the supplied byte array parameter. |
![]() ![]() | SqlGuid(Guid) | Initializes a new instance of the SqlGuid structure using the specified Guid parameter. |
![]() ![]() | SqlGuid(String) | Initializes a new instance of the SqlGuid structure using the specified String parameter. |
![]() ![]() | SqlGuid(Int32, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) | Initializes a new instance of the SqlGuid structure using the specified values. |
| Name | Description | |
|---|---|---|
![]() ![]() | CompareTo(Object) | Compares this SqlGuid structure to the supplied object and returns an indication of their relative values. Compares more than the last 6 bytes, but treats the last 6 bytes as the most significant ones in comparisons. |
![]() ![]() | CompareTo(SqlGuid) | Compares this SqlGuid structure to the supplied SqlGuid and returns an indication of their relative values. Compares more than the last 6 bytes, but treats the last 6 bytes as the most significant ones in comparisons. |
![]() ![]() | Equals(Object) | Compares the supplied object parameter to the Value property of the SqlGuid object. (Overrides ValueType.Equals(Object).) |
![]() ![]() ![]() | Equals(SqlGuid, SqlGuid) | Performs a logical comparison of two SqlGuid structures to determine whether they are equal. |
![]() ![]() | GetHashCode | Returns the hash code of this SqlGuid structure. (Overrides ValueType.GetHashCode().) |
![]() ![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() ![]() ![]() | GetXsdType | Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet. |
![]() ![]() ![]() | GreaterThan | Compares two instances of SqlGuid to determine whether the first is greater than the second. |
![]() ![]() ![]() | GreaterThanOrEqual | Compares two instances of SqlGuid to determine whether the first is greater than or equal to the second. |
![]() ![]() ![]() | LessThan | Compares two instances of SqlGuid to determine whether the first is less than the second. |
![]() ![]() ![]() | LessThanOrEqual | Compares two instances of SqlGuid to determine whether the first is less than or equal to the second. |
![]() ![]() ![]() | NotEquals | Performs a logical comparison on two SqlGuid structures to determine whether they are not equal. |
![]() ![]() ![]() | Parse | Converts the specified String structure to SqlGuid. |
![]() ![]() | ToByteArray | Converts this SqlGuid structure to a byte array. |
![]() ![]() | ToSqlBinary | Converts this SqlGuid structure to SqlBinary. |
![]() ![]() | ToSqlString | Converts this SqlGuid structure to SqlString. |
![]() ![]() | ToString | Converts this SqlGuid structure to a String. (Overrides ValueType.ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | Equality | Performs a logical comparison of two SqlGuid structures to determine whether they are equal. |
![]() ![]() ![]() | Explicit(SqlBinary to SqlGuid) | Converts the SqlBinary parameter to SqlGuid. |
![]() ![]() ![]() | Explicit(SqlGuid to Guid) | Converts the supplied SqlGuid parameter to Guid. |
![]() ![]() ![]() | Explicit(SqlString to SqlGuid) | Converts the specified SqlString structure to SqlGuid. |
![]() ![]() ![]() | GreaterThan | Compares two instances of SqlGuid to determine whether the first is greater than the second. |
![]() ![]() ![]() | GreaterThanOrEqual | Compares two instances of SqlGuid to determine whether the first is greater than or equal to the second. |
![]() ![]() ![]() | Implicit(Guid to SqlGuid) | Converts the supplied Guid parameter to SqlGuid. |
![]() ![]() ![]() | Inequality | Performs a logical comparison on two SqlGuid structures to determine whether they are not equal. |
![]() ![]() ![]() | LessThan | Compares two instances of SqlGuid to determine whether the first is less than the second. |
![]() ![]() ![]() | LessThanOrEqual | Compares two instances of SqlGuid to determine whether the first is less than or equal to the second. |
| Name | Description | |
|---|---|---|
![]() ![]() ![]() | IXmlSerializable.GetSchema | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
![]() ![]() ![]() | IXmlSerializable.ReadXml | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
![]() ![]() ![]() | IXmlSerializable.WriteXml | This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
