Class StringObjectIdGenerator
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
MongoDB.Bson.Serialization.IdGenerators
Assembly
MongoDB.Bson.dll
Represents an Id generator for ObjectIds represented internally as strings.
public class StringObjectIdGenerator : IIdGenerator
Inheritance
StringObjectIdGenerator
Implements
Inherited Members
Extension Methods
Constructors
Initializes a new instance of the StringObjectIdGenerator class.
Properties
Gets an instance of StringObjectIdGenerator.
Methods
Generates an Id for a document.
Tests whether an Id is empty.