Table of Contents

Method SetIdGenerator

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

SetIdGenerator(IIdGenerator)

Sets the Id generator.

public BsonMemberMap SetIdGenerator(IIdGenerator idGenerator)

Parameters

idGenerator IIdGenerator

The Id generator.

Returns

BsonMemberMap

The member map.