BsonObjectIdGenerator Class |
Namespace: MongoDB.Bson.Serialization.IdGenerators
The BsonObjectIdGenerator type exposes the following members.
Name | Description | |
---|---|---|
BsonObjectIdGenerator |
Initializes a new instance of the BsonObjectIdGenerator 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.) |