LinkMenuExpand(external link)DocumentSearchCopyCopied

MySqlGuidFormat enumeration

Determines which column type (if any) should be read as a System.Guid.

public enum MySqlGuidFormat

Values

namevaluedescription
Default0Same as Char36 if OldGuids=False; same as LittleEndianBinary16 if OldGuids=True.
None1No column types are read/written as a
Char362All CHAR(36) columns are read/written as a Guid using lowercase hex with hyphens, which matches UUID().
Char323All CHAR(32) columns are read/written as a Guid using lowercase hex without hyphens.
Binary164All BINARY(16) columns are read/written as a Guid using big-endian byte order, which matches UUID_TO_BIN(x).
TimeSwapBinary165All BINARY(16) columns are read/written as a Guid using big-endian byte order with time parts swapped, which matches UUID_TO_BIN(x,1).
LittleEndianBinary166All BINARY(16) columns are read/written as a Guid using little-endian byte order, i.e. the byte order used by ToByteArray and Byte[]).

See Also