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
3 bytes: hash of machine name
2 bytes: low order bytes of process Id
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.
|