IIdGenerator Interface (original) (raw)

An interface implemented by Id generators.

Namespace: MongoDB.Bson.Serialization
Assembly: MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.10.0+569905ff5e778c38ea19d9d0392496a83e1704ed

Syntax

C#

VB

F#

Copy

public interface IIdGenerator

Public Interface IIdGenerator

type IIdGenerator = interface end

The IIdGenerator type exposes the following members.

Methods

| | Name | Description | | | ---------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ------------------------------- | | Public method | GenerateId | Generates an Id for a document. | | Public method | IsEmpty | Tests whether an Id is empty. |

Top

See Also

Reference

MongoDB.Bson.Serialization Namespace