C# Класс Cedar.ShardRepository

Shard Repository
Наследование: BaseRepository
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
GetAllShard ( ) : IEnumerable

Get all shards stored in the Cedar database

GetAllShard ( string applicationName ) : IEnumerable

Get all shards for a given application stored in the Cedar database

GetAppSchema ( string applicationName ) : AppSchema

Get the application schema for a given application name

GetShardById ( long shardId ) : Shard

Get shards information for given shard id

Приватные методы

Метод Описание
UpdateShard ( long shardId ) : void

Update the schema setup status

UpdateShardCount ( long shardId ) : void

Updates the total count on a shard

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

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

Get all shards stored in the Cedar database
public GetAllShard ( ) : IEnumerable
Результат IEnumerable

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

Get all shards for a given application stored in the Cedar database
public GetAllShard ( string applicationName ) : IEnumerable
applicationName string
Результат IEnumerable

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

Get the application schema for a given application name
public GetAppSchema ( string applicationName ) : AppSchema
applicationName string
Результат AppSchema

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

Get shards information for given shard id
public GetShardById ( long shardId ) : Shard
shardId long
Результат Shard