Exemple #1
0
        public int Delete(String reportID)
        {
            Report record;

            if (_ctx.Transaction == null)
            {
                record = new ReportDao().Get(reportID);
            }
            else
            {
                record = Get(reportID);
            }
            _helper.Delete(_ctx, record, _isAuditLog);
            return(DaoBase.ExecuteNonQuery(_ctx));
        }
Exemple #2
0
 public int Delete(String reportID)
 {
     Report record;
     if (_ctx.Transaction == null)
         record = new ReportDao().Get(reportID);
     else
         record = Get(reportID);
     _helper.Delete(_ctx, record, _isAuditLog);
     return DaoBase.ExecuteNonQuery(_ctx);
 }