Class BsonBinaryDataGuidGenerator
- Namespace
- MongoDB.Bson.Serialization.IdGenerators
- Assembly
- MongoDB.Bson.dll
Represents an Id generator for Guids stored in BsonBinaryData values.
public class BsonBinaryDataGuidGenerator : IIdGenerator
- Inheritance
-
BsonBinaryDataGuidGenerator
- Implements
- Inherited Members
- Extension Methods
Constructors
- BsonBinaryDataGuidGenerator(GuidRepresentation)
Initializes a new instance of the BsonBinaryDataGuidGenerator class.
Properties
- CSharpLegacyInstance
Gets an instance of BsonBinaryDataGuidGenerator for CSharpLegacy GuidRepresentation.
- GuidRepresentation
Gets the Guid representation.
- JavaLegacyInstance
Gets an instance of BsonBinaryDataGuidGenerator for JavaLegacy GuidRepresentation.
- PythonLegacyInstance
Gets an instance of BsonBinaryDataGuidGenerator for PythonLegacy GuidRepresentation.
- StandardInstance
Gets an instance of BsonBinaryDataGuidGenerator for Standard GuidRepresentation.
- UnspecifedInstance
Gets an instance of BsonBinaryDataGuidGenerator for Unspecifed GuidRepresentation.
Methods
- GenerateId(object, object)
Generates an Id for a document.
- GetInstance(GuidRepresentation)
Gets the instance of BsonBinaryDataGuidGenerator for a GuidRepresentation.
- IsEmpty(object)
Tests whether an Id is empty.