示例#1
0
 private void InitilizeInternal(AzureStorageContext context)
 {
     Client = context.GetTableClient();
     Table  = Client.GetTableReference(TableName);
     CreateTableIfNotExistsAsync().Wait();
 }
示例#2
0
 public AzureTable(AzureStorageContext context, string tableName)
 {
     TableName = tableName;
     InitilizeInternal(context);
 }
示例#3
0
        private void InitilizeInternal(AzureStorageContext context)
        {
            Client = context.GetBlobClient();

            Container = Client.GetContainerReference(_containerName);
        }
示例#4
0
 public AzureTable(AzureStorageContext context)
     : this(context, typeof(T).Name + "Table")
 {
 }
示例#5
0
 public AzureBlobContainer(AzureStorageContext context, string containerName)
 {
     this._containerName = containerName;
     InitilizeInternal(context);
 }