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

C#

VB

F#

Copy

public interface IBsonIdProvider

Public Interface IBsonIdProvider

type IBsonIdProvider = interface end

The IBsonIdProvider type exposes the following members.

Methods

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | --------------------- | | Public method | GetDocumentId | Gets the document Id. | | Public method | SetDocumentId | Sets the document Id. |

Top

See Also

Reference

MongoDB.Bson.Serialization Namespace