public void TestInitialize()
        {
            _storageAccount = new ConnectionStringCloudStorageAccount( ConfigurationManager.AppSettings["storageConnectionString"] );

             _tableStorageProvider = new AzureTableStorageProvider( _storageAccount );

             _client = new CloudTableClient( _storageAccount.TableEndpoint,
                                         _storageAccount.Credentials );

             _tableName = _baseTableName + Guid.NewGuid().ToString().Replace( "-", string.Empty );

             _client.CreateTable( _tableName );
        }
Exemple #2
0
        public void TestInitialize()
        {
            _tableStorageProvider = new AzureTableStorageProvider( _storageAccount );

             _tableName = _baseTableName + Guid.NewGuid().ToString().Replace( "-", string.Empty );

             var client = new CloudTableClient( _storageAccount.TableEndpoint,
                                         _storageAccount.Credentials );
             client.CreateTable( _tableName );
        }