Enum MySqlGuidFormat
Controls which column type should be read as type System.Guid.
Namespace: MySql.Data.MySqlClient
Assembly: MySql.Data.dll
Version: 9.1.0
Syntax
public enum MySqlGuidFormat
Fields
Name | Description |
---|---|
Binary16 | Binary(16) columns are read or written as type Guid using big-endian byte order, which matches UUID_TO_BIN(x). |
Char32 | Char(32) columns are read or written as type Guid using lowercase hex without hyphens. |
Char36 | Char(36) columns are read or written as type Guid using lowercase hex with hyphens, which match UUID(). |
Default | Same as Char36 when OldGuids equals False, otherwise, the same as LittleEndianBinary16. |
LittleEndianBinary16 | Binary(16) columns are read or written as type Guid using little-endian byte order, that is, the byte order used by System.Guid.ToByteArray and System.Guid.#ctor(System.Byte[]). |
None | No column types are read or written as type Guid. |
TimeSwapBinary16 | Binary(16) columns are read or written as type Guid using big-endian byte order with time parts swapped, which matches UUID_TO_BIN(x,1). |