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

            await dataManager.DeleteTableAsync();
        }
Exemplo 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();
            }
Exemplo 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();
 }
Exemplo 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();
        }
Exemplo 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();
        }