SqlGuid Struct
Definition
Represents a GUID to be stored in or retrieved from a database.
public value class SqlGuid : IComparable, System::Data::SqlTypes::INullable, System::Xml::Serialization::IXmlSerializable
[System.Serializable]
public struct SqlGuid : IComparable, System.Data.SqlTypes.INullable, System.Xml.Serialization.IXmlSerializable
type SqlGuid = struct
interface INullable
interface IXmlSerializable
Public Structure SqlGuid
Implements IComparable, INullable, IXmlSerializable
- Inheritance
- Attributes
- Implements
Constructors
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(Int32, Int16, Int16, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte) |
Initializes a new instance of the SqlGuid structure using the specified values. |
SqlGuid(String) |
Initializes a new instance of the SqlGuid structure using the specified String parameter. |
Fields
Null |
Represents a DBNull that can be assigned to this instance of the SqlGuid structure. |
Properties
IsNull |
Gets a Boolean value that indicates whether this SqlGuid structure is null. |
Value |
Gets the value of the SqlGuid structure. This property is read-only. |
Methods
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. |
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. |
GetXsdType(XmlSchemaSet) |
Returns the XML Schema definition language (XSD) of the specified XmlSchemaSet. |
GreaterThan(SqlGuid, SqlGuid) |
Compares two instances of SqlGuid to determine whether the first is greater than the second. |
GreaterThanOrEqual(SqlGuid, SqlGuid) |
Compares two instances of SqlGuid to determine whether the first is greater than or equal to the second. |
LessThan(SqlGuid, SqlGuid) |
Compares two instances of SqlGuid to determine whether the first is less than the second. |
LessThanOrEqual(SqlGuid, SqlGuid) |
Compares two instances of SqlGuid to determine whether the first is less than or equal to the second. |
NotEquals(SqlGuid, SqlGuid) |
Performs a logical comparison on two SqlGuid structures to determine whether they are not equal. |
Parse(String) | |
ToByteArray() |
Converts this SqlGuid structure to a byte array. |
ToSqlBinary() | |
ToSqlString() | |
ToString() |
Operators
Equality(SqlGuid, SqlGuid) |
Performs a logical comparison of two SqlGuid structures to determine whether they are equal. |
Explicit(SqlBinary to SqlGuid) | |
Explicit(SqlGuid to Guid) | |
Explicit(SqlString to SqlGuid) | |
GreaterThan(SqlGuid, SqlGuid) |
Compares two instances of SqlGuid to determine whether the first is greater than the second. |
GreaterThanOrEqual(SqlGuid, SqlGuid) |
Compares two instances of SqlGuid to determine whether the first is greater than or equal to the second. |
Implicit(Guid to SqlGuid) | |
Inequality(SqlGuid, SqlGuid) |
Performs a logical comparison on two SqlGuid structures to determine whether they are not equal. |
LessThan(SqlGuid, SqlGuid) |
Compares two instances of SqlGuid to determine whether the first is less than the second. |
LessThanOrEqual(SqlGuid, SqlGuid) |
Compares two instances of SqlGuid to determine whether the first is less than or equal to the second. |
Explicit Interface Implementations
IXmlSerializable.GetSchema() |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
IXmlSerializable.ReadXml(XmlReader) |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |
IXmlSerializable.WriteXml(XmlWriter) |
This member supports the .NET Framework infrastructure and is not intended to be used directly from your code. |