private ShardMap LoadShardMap()
        {
            ShardMap shardMap = client.CreateDocumentQuery <ShardMap>(masterCollectionLink)
                                .Where(d => d.id == "shardMap")
                                .AsEnumerable()
                                .Single();

            return(shardMap);
        }
 public void Initialize(DocumentClient client)
 {
     this.client = client;
     this.shardMap = LoadShardMap();
 }
 public void Initialize(DocumentClient client)
 {
     this.client   = client;
     this.shardMap = LoadShardMap();
 }