C# Класс MongoDBIntIdGenerator.Int64IdGenerator

Int64 identifier generator.
Наследование: IntIdGeneratorBase
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
ConvertToInt ( BsonValue value ) : object

Converts to int.

CreateUpdateBuilder ( ) : MongoDB.Driver.Builders.UpdateBuilder

Creates the update builder.

Описание методов

ConvertToInt() защищенный Метод

Converts to int.
protected ConvertToInt ( BsonValue value ) : object
value BsonValue Value.
Результат object

CreateUpdateBuilder() защищенный Метод

Creates the update builder.
protected CreateUpdateBuilder ( ) : MongoDB.Driver.Builders.UpdateBuilder
Результат MongoDB.Driver.Builders.UpdateBuilder

Int64IdGenerator() публичный Метод

Initializes a new instance of the MongoDBIntIdGenerator.Int64IdGenerator class.
public Int64IdGenerator ( ) : System
Результат System

Int64IdGenerator() публичный Метод

Initializes a new instance of the MongoDBIntIdGenerator.Int64IdGenerator class.
public Int64IdGenerator ( string idCollectionName ) : System
idCollectionName string Identifier collection name.
Результат System

IsEmpty() публичный Метод

Tests whether an Id is empty.
public IsEmpty ( object id ) : bool
id object The Id.
Результат bool