protected override async Task OnExecuteAsync(CommandLineApplication app)
 {
     ValidateParameters();
     var storageAccount = AzureStorageAccount.CreateStorageAccountFromConnectionString(ConnectionString);
     var serviceTable   = new ServiceTable(AzureStorageAccount.GetStorageTable(ConnectionString));
     var versionTable   = new VersionTable(AzureStorageAccount.GetStorageTable(ConnectionString));
     await Helper.LoadTestForQuery(serviceTable, versionTable);
 }
        protected override async Task OnExecuteAsync(CommandLineApplication app)
        {
            ValidateParameters();
            var storageAccount = AzureStorageAccount.CreateStorageAccountFromConnectionString(ConnectionString);
            var monitorTable   = Helper.GenMonitorTable(TableName, AzureStorageAccount.GetStorageTable(ConnectionString));
            var stopWatch      = new Stopwatch();

            stopWatch.Start();
            var deleted = await monitorTable.DeleteOldEntities(DaysBeforeNow);

            stopWatch.Stop();
            Console.WriteLine($"Delete {deleted} entries takes {stopWatch.ElapsedMilliseconds} milli-seconds");
        }