ObjectIdGenerator Class |
Namespace: MongoDB.Bson.Serialization.IdGenerators
The ObjectIdGenerator type exposes the following members.
Name | Description | |
---|---|---|
ObjectIdGenerator |
Initializes a new instance of the ObjectIdGenerator class.
|
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GenerateId |
Generates an Id for a document.
| |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
IsEmpty |
Tests whether an Id is empty.
| |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) |