public DocumentDBWorkflows(ICosmosDBAccount account) { this.docdb = new DocumentDBUtils(account); }
protected DocumentDBRepository(DocumentClient client, string databaseId) { this.client = client; this.database = DocumentDBUtils.GetOrCreateDatabase(client, databaseId); }
public void InitDb() { this.client = client = new DocumentClient(new Uri(this.serviceEndpoint), this.authKey); this.database = DocumentDBUtils.GetOrCreateDatabase(this.client, this.databaseId); }