Namespace MongoDB.Bson.Serialization.IdGenerators
| MongoDB CSharp Driver API Reference (original) (raw)
The various id generators used in the serialization/deserialization of BSON data are represented in this namespace.
Classes
A GUID generator that generates GUIDs in ascending order. To enable an index to make use of the ascending nature make sure to useGuidRepresentation.Standardas the storage representation. Internally the GUID is of the form 8 bytes: Ticks from DateTime.UtcNow.Ticks 5 bytes: Random value from ObjectId spec 3 bytes: increment
Represents an Id generator for Guids stored in BsonBinaryData values.
Represents an Id generator for BsonObjectIds.
Represents an Id generator for Guids using the COMB algorithm.
Represents an Id generator for Guids.
Represents an Id generator that only checks that the Id is not null.
Represents an Id generator for ObjectIds.
Represents an Id generator for ObjectIds represented internally as strings.
Represents an Id generator that only checks that the Id is not all zeros.