Beispiel #1
0
 public ServiceFabricAzureTableRecordSession(string accountName, string accountKey, bool useHttps, string tableNamePrefix, string deploymentId)
 {
     Assert.IsNotNull(accountName, "accountName != null");
     Assert.IsNotNull(accountKey, "accountKey != null");
     this.tableAccess   = new AccountAndKeyTableStorageAccess(accountName, accountKey, useHttps);
     this.dataDecorator = new ServiceFabricAzureAccessDataDecorator(this.tableAccess, tableNamePrefix, deploymentId);
 }
Beispiel #2
0
 public ServiceFabricAzureTableRecordSession(IAzureTableStorageAccess access, string tableNamePrefix, string deploymentId)
 {
     Assert.IsNotNull(access, "access != null");
     this.tableAccess   = access;
     this.dataDecorator = new ServiceFabricAzureAccessDataDecorator(this.tableAccess, tableNamePrefix, deploymentId);
 }