public GetShardById ( long shardId ) : |
||
shardId | long | |
Résultat |
/// <summary> /// Get shard for given shard id /// </summary> /// <param name="shardId"></param> /// <returns></returns> public Shard GetShardById(long shardId) { var shardRepository = new ShardRepository(); return shardRepository.GetShardById(shardId); }
/// <summary> /// Get application schema by shard id /// </summary> /// <param name="shardId"></param> /// <returns></returns> public AppSchema GetAppSchema(long shardId) { var shardRepository = new ShardRepository(); var shard = shardRepository.GetShardById(shardId); return shardRepository.GetAppSchema(shard.application_name); }