Метод | Описание | |
---|---|---|
GenerateId ( object container, object document ) : object |
Generates an Id for a document.
|
|
IsEmpty ( object id ) : bool |
Tests whether an Id is empty.
|
Метод | Описание | |
---|---|---|
ConvertToInt ( BsonValue value ) : object |
Converts to int.
|
|
CreateUpdateBuilder ( ) : MongoDB.Driver.Builders.UpdateBuilder |
Creates the update builder.
|
|
IntIdGeneratorBase ( ) : System |
Initializes a new instance of the MongoDBIntIdGenerator.IntIdGeneratorBase class.
|
|
IntIdGeneratorBase ( string idCollectionName ) : System |
Initializes a new instance of the MongoDBIntIdGenerator.IntIdGeneratorBase class.
|
protected abstract ConvertToInt ( BsonValue value ) : object | ||
value | BsonValue | Value. |
Результат | object |
protected abstract CreateUpdateBuilder ( ) : MongoDB.Driver.Builders.UpdateBuilder | ||
Результат | MongoDB.Driver.Builders.UpdateBuilder |
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. |
Результат | object |
protected IntIdGeneratorBase ( string idCollectionName ) : System | ||
idCollectionName | string | Identifier collection name. |
Результат | System |
public abstract IsEmpty ( object id ) : bool | ||
id | object | The Id. |
Результат | bool |