Method NewCombGuid

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

Namespace

MongoDB.Bson.Serialization.IdGenerators

Assembly

MongoDB.Bson.dll

NewCombGuid(Guid, DateTime)

Create a new CombGuid from a given Guid and timestamp.

public Guid NewCombGuid(Guid guid, DateTime timestamp)

Parameters

guid Guid

The base Guid.

timestamp DateTime

The timestamp.

Returns

Guid

A new CombGuid created by combining the base Guid with the timestamp.