public override void Dispose()
 {
     var dataManager = new AzureTableDataManager<TableEntity>(CheckpointSettings.TableName, CheckpointSettings.DataConnectionString);
     dataManager.InitTableAsync().Wait();
     dataManager.DeleteTableAsync().Wait();
     base.Dispose();
 }
Esempio n. 2
0
        public static async Task DeleteAll()
        {
            var dataManager = new AzureTableDataManager <TableEntity>(TableName, TestDefaultConfiguration.DataConnectionString);
            await dataManager.InitTableAsync();

            await dataManager.DeleteTableAsync();
        }
Esempio n. 3
0
        public static async Task DeleteAll()
        {
            var dataManager = new AzureTableDataManager <TableEntity>(TableName, StorageTestConstants.DataConnectionString);
            await dataManager.InitTableAsync();

            await dataManager.DeleteTableAsync();
        }
        public static async Task DeleteAll()
        {
            var dataManager = new AzureTableDataManager <TableEntity>(TableName, TestDefaultConfiguration.DataConnectionString, NullLoggerFactory.Instance.CreateLogger <AzureTableDataManager <TableEntity> >());
            await dataManager.InitTableAsync();

            await dataManager.DeleteTableAsync();
        }
            public override void Dispose()
            {
                var dataManager = new AzureTableDataManager <TableEntity>(CheckpointSettings.TableName, CheckpointSettings.DataConnectionString);

                dataManager.InitTableAsync().Wait();
                dataManager.DeleteTableAsync().Wait();
                base.Dispose();
            }
Esempio n. 6
0
 public override void Dispose()
 {
     base.Dispose();
     var dataManager = new AzureTableDataManager<TableEntity>(CheckpointerSettings.TableName, CheckpointerSettings.DataConnectionString);
     dataManager.InitTableAsync().Wait();
     dataManager.DeleteTableAsync().Wait();
     TestAzureTableStorageStreamFailureHandler.DeleteAll().Wait();
 }
Esempio n. 7
0
        public override void Dispose()
        {
            base.Dispose();
            var dataManager = new AzureTableDataManager <TableEntity>(CheckpointerSettings.TableName, CheckpointerSettings.DataConnectionString);

            dataManager.InitTableAsync().Wait();
            dataManager.DeleteTableAsync().Wait();
            TestAzureTableStorageStreamFailureHandler.DeleteAll().Wait();
        }
Esempio n. 8
0
        public static async Task DeleteAll()
        {
            var dataManager = new AzureTableDataManager <TableEntity>(
                new AzureStorageOperationOptions {
                TableName = TableName
            }.ConfigureTestDefaults(),
                NullLoggerFactory.Instance.CreateLogger <AzureTableDataManager <TableEntity> >());
            await dataManager.InitTableAsync();

            await dataManager.DeleteTableAsync();
        }