Enum GuidRepresentation
Represents the representation to use when converting a Guid to a BSON binary value.
public enum GuidRepresentation
- Extension Methods
Fields
Unspecified = 0The representation for Guids is unspecified, so conversion between Guids and Bson binary data is not possible.
Standard = 1Use the new standard representation for Guids (binary subtype 4 with bytes in network byte order).
CSharpLegacy = 2Use the representation used by older versions of the C# driver (including most community provided C# drivers).
JavaLegacy = 3Use the representation used by older versions of the Java driver.
PythonLegacy = 4Use the representation used by older versions of the Python driver.