Table of Contents

Class GuidGenerator

Namespace
MongoDB.Bson.Serialization.IdGenerators
Assembly
MongoDB.Bson.dll

Represents an Id generator for Guids.

public class GuidGenerator : IIdGenerator
Inheritance
GuidGenerator
Implements
Inherited Members
Extension Methods

Constructors

GuidGenerator()

Initializes a new instance of the GuidGenerator class.

Properties

Instance

Gets an instance of GuidGenerator.

Methods

GenerateId(object, object)

Generates an Id for a document.

IsEmpty(object)

Tests whether an Id is empty.