public DocumentDbPersistenceProvider(string endPoint, string authKey, string dbName, string collectionName, string accountKey = "") { _db = new DocDbDatabase(endPoint, authKey, dbName, collectionName); _accountKey = accountKey.Trim().ToLower(); }
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); }