Interface IBsonIdProvider
- Namespace
 - MongoDB.Bson.Serialization
 
- Assembly
 - MongoDB.Bson.dll
 
Contract for serializers that can get and set Id values.
public interface IBsonIdProvider
  - Extension Methods
 
Methods
- GetDocumentId(object, out object, out Type, out IIdGenerator)
 Gets the document Id.
- SetDocumentId(object, object)
 Sets the document Id.