Méthode | Description | |
---|---|---|
BsonObjectIdGenerator ( ) |
Initializes a new instance of the BsonObjectIdGenerator class.
|
|
GenerateId ( object container, object document ) : object |
Generates an Id for a document.
|
|
IsEmpty ( object id ) : bool |
Tests whether an Id is empty.
|
public GenerateId ( object container, object document ) : object | ||
container | object | The container of the document (will be a MongoCollection when called from the C# driver). |
document | object | The document. |
Résultat | object |