메소드 | 설명 | |
---|---|---|
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 |