コード例 #1
0
 public GuestBookDataSource()
 {
     context = new GuestBookDataContext(storageAccount.TableEndpoint.AbsoluteUri, storageAccount.Credentials)
     {
         RetryPolicy = RetryPolicies.Retry(3, TimeSpan.FromSeconds(1))
     };
 }
コード例 #2
0
 public GuestBookDataSource()
 {
     context = new GuestBookDataContext(storageAccount.CreateCloudTableClient()); // TODO: Inject the instance using constructor injection
 }
コード例 #3
0
 public GuestBookDataSource()
 {
     this.context = new GuestBookDataContext(storageAccount.CreateCloudTableClient());
 }
コード例 #4
0
 public GuestBookDataSource()
 {
     this.context = new GuestBookDataContext(storageAccount.TableEndpoint.AbsoluteUri, storageAccount.Credentials);
     this.context.RetryPolicy = RetryPolicies.Retry(3, TimeSpan.FromSeconds(1));
 }
コード例 #5
0
 public GuestBookDataSource()
 {
   this.context = new GuestBookDataContext(storageAccount.CreateCloudTableClient());
 }