示例#1
0
 private bool AlterTable( )
 {
     try
     {
         long oldId = _table.ID;
         if (_table.AlterTable())
         {
             ChangeTableId(oldId, _table.ID);
         }
         return(true);
     }
     catch (Exception ex)
     {
         if (ex.GetType() != typeof(CancelledByUserException))
         {
             Utils.ShowException(ex);
         }
         return(false);
     }
 }