Method RegisterIdGenerator
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
RegisterIdGenerator(Type, IIdGenerator)
Registers an IdGenerator for an Id Type.
public static void RegisterIdGenerator(Type type, IIdGenerator idGenerator)
Parameters
type
TypeThe Id Type.
idGenerator
IIdGeneratorThe IdGenerator for the Id Type.