public sealed override object ExecuteWithResult(string cmdStr) { try { CurDBE.DoExecuteNonQuery(cmdStr); NotifySuccessful(); } catch (Exception ee) { NotifyError(ee.Message); } return(null); }
/// <summary> /// /// </summary> /// <param name="cmdStr"></param> /// <returns></returns> public sealed override object ExecuteWithResult(string cmdStr) { try { int count = CurDBE.DoExecuteNonQuery(cmdStr); Debug.WriteLine("Current execute result is " + count); NotifySuccessfulAndRefreshClientUI(); } catch (Exception ee) { NotifyError(ee.Message); } return(null); }