C# Class MongoDBIntIdGenerator.Int64IdGenerator

Int64 identifier generator.
Inheritance: IntIdGeneratorBase
Afficher le fichier Open project: alexjamesbrown/MongDBIntIdGenerator

Méthodes publiques

Méthode Description
Int64IdGenerator ( ) : System

Initializes a new instance of the MongoDBIntIdGenerator.Int64IdGenerator class.

Int64IdGenerator ( string idCollectionName ) : System

Initializes a new instance of the MongoDBIntIdGenerator.Int64IdGenerator class.

IsEmpty ( object id ) : bool

Tests whether an Id is empty.

Méthodes protégées

Méthode Description
ConvertToInt ( BsonValue value ) : object

Converts to int.

CreateUpdateBuilder ( ) : MongoDB.Driver.Builders.UpdateBuilder

Creates the update builder.

Method Details

ConvertToInt() protected méthode

Converts to int.
protected ConvertToInt ( BsonValue value ) : object
value BsonValue Value.
Résultat object

CreateUpdateBuilder() protected méthode

Creates the update builder.
protected CreateUpdateBuilder ( ) : MongoDB.Driver.Builders.UpdateBuilder
Résultat MongoDB.Driver.Builders.UpdateBuilder

Int64IdGenerator() public méthode

Initializes a new instance of the MongoDBIntIdGenerator.Int64IdGenerator class.
public Int64IdGenerator ( ) : System
Résultat System

Int64IdGenerator() public méthode

Initializes a new instance of the MongoDBIntIdGenerator.Int64IdGenerator class.
public Int64IdGenerator ( string idCollectionName ) : System
idCollectionName string Identifier collection name.
Résultat System

IsEmpty() public méthode

Tests whether an Id is empty.
public IsEmpty ( object id ) : bool
id object The Id.
Résultat bool