Click or drag to resize

CombGuidGenerator.NewCombGuid Method

Create a new CombGuid from a given Guid and timestamp.

Namespace:  MongoDB.Bson.Serialization.IdGenerators
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.15.0+f503bf610759c13f78cff9a3c01e91453185d2ed
Syntax
public Guid NewCombGuid(
	Guid guid,
	DateTime timestamp
)

Parameters

guid
Type: System.Guid
The base Guid.
timestamp
Type: System.DateTime
The timestamp.

Return Value

Type: Guid
A new CombGuid created by combining the base Guid with the timestamp.
See Also