Class CombGuidGenerator

| MongoDB CSharp Driver API Reference (original) (raw)

Namespace

MongoDB.Bson.Serialization.IdGenerators

Assembly

MongoDB.Bson.dll

Represents an Id generator for Guids using the COMB algorithm.

public class CombGuidGenerator : IIdGenerator

Inheritance

CombGuidGenerator

Implements

Inherited Members

Extension Methods

Constructors

CombGuidGenerator()

Initializes a new instance of the CombGuidGenerator class.

Properties

Instance

Gets an instance of CombGuidGenerator.

Methods

GenerateId(object, object)

Generates an Id for a document.

IsEmpty(object)

Tests whether an Id is empty.

NewCombGuid(Guid, DateTime)

Create a new CombGuid from a given Guid and timestamp.