public DocumentDbPersistenceProvider(string endPoint, string authKey, string dbName, string collectionName, string accountKey = "")
 {
     _db         = new DocDbDatabase(endPoint, authKey, dbName, collectionName);
     _accountKey = accountKey.Trim().ToLower();
 }
Пример #2
0
 public EventSourcedPersistenceProvider(string endPoint, string authKey, string dbName, string collectionName, string cloudStorageConnectionString, string tableName, string accountKey = "")
 {
     _db           = new DocDbDatabase(endPoint, authKey, dbName, collectionName);
     _tableStorage = new TableStorage.TableStorage(cloudStorageConnectionString, tableName);
 }