Esempio n. 1
0
 private void DeleteTable(string tableName)
 {
     try
     {
         SqlDdl.DeleteTable(GetConfig().connectionString, GetConfig().appname, tableName);
     }
     catch (Exception exception)
     {
         Console.WriteLine("Error: Failed to DeleteTable;");
         Console.WriteLine("ErrorMessage:" + exception.Message);
         Console.WriteLine("StackTrace:" + exception.StackTrace);
         try
         {
             Assert.Fail("Failed to DeleteTable " + exception.Message);
         }
         catch
         {
             throw new Exception("Failed to DeleteTable " + exception.Message);
         }
     }
 }