Class NullIdChecker
- Namespace
- MongoDB.Bson.Serialization.IdGenerators
- Assembly
- MongoDB.Bson.dll
Represents an Id generator that only checks that the Id is not null.
public class NullIdChecker : IIdGenerator
- Inheritance
-
NullIdChecker
- Implements
- Inherited Members
- Extension Methods
Constructors
- NullIdChecker()
Initializes a new instance of the NullIdChecker class.
Properties
- Instance
Gets an instance of NullIdChecker.
Methods
- GenerateId(object, object)
Generates an Id for a document.
- IsEmpty(object)
Tests whether an Id is empty.