IBsonIdProvider Interface (original) (raw)
Contract for serializers that can get and set Id values.
Namespace: MongoDB.Bson.Serialization
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed
Syntax
public interface IBsonIdProvider
Public Interface IBsonIdProvider
type IBsonIdProvider = interface end
The IBsonIdProvider type exposes the following members.
Methods
| | Name | Description | |
| ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | --------------------- |
| | GetDocumentId | Gets the document Id. |
|
| SetDocumentId | Sets the document Id. |
See Also