MongoDB.Bson.Serialization.IdGenerators Namespace |
Class | Description | |
---|---|---|
AscendingGuidGenerator |
A GUID generator that generates GUIDs in ascending order. To enable
an index to make use of the ascending nature make sure to use
GuidRepresentation.Standard
as 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
| |
BsonBinaryDataGuidGenerator |
Represents an Id generator for Guids stored in BsonBinaryData values.
| |
BsonObjectIdGenerator |
Represents an Id generator for BsonObjectIds.
| |
CombGuidGenerator |
Represents an Id generator for Guids using the COMB algorithm.
| |
GuidGenerator |
Represents an Id generator for Guids.
| |
NullIdChecker |
Represents an Id generator that only checks that the Id is not null.
| |
ObjectIdGenerator |
Represents an Id generator for ObjectIds.
| |
StringObjectIdGenerator |
Represents an Id generator for ObjectIds represented internally as strings.
| |
ZeroIdCheckerT |
Represents an Id generator that only checks that the Id is not all zeros.
|