protected DocumentDBRepository(DocumentClient client, string databaseId)
 {
     this.client   = client;
     this.database = DocumentDBUtils.GetOrCreateDatabase(client, databaseId);
 }
Esempio n. 2
0
 public void InitDb()
 {
     this.client   = client = new DocumentClient(new Uri(this.serviceEndpoint), this.authKey);
     this.database = DocumentDBUtils.GetOrCreateDatabase(this.client, this.databaseId);
 }