Method SetIdGenerator
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
SetIdGenerator(IIdGenerator)
Sets the Id generator.
public BsonMemberMap SetIdGenerator(IIdGenerator idGenerator)
Parameters
idGenerator
IIdGeneratorThe Id generator.
Returns
- BsonMemberMap
The member map.