예제 #1
0
        public int Delete(Int32 id)
        {
            ReportParameterLabel record;

            if (_ctx.Transaction == null)
            {
                record = new ReportParameterLabelDao().Get(id);
            }
            else
            {
                record = Get(id);
            }
            _helper.Delete(_ctx, record, _isAuditLog);
            return(DaoBase.ExecuteNonQuery(_ctx));
        }
예제 #2
0
 public int Delete(Int32 id)
 {
     ReportParameterLabel record;
     if (_ctx.Transaction == null)
         record = new ReportParameterLabelDao().Get(id);
     else
         record = Get(id);
     _helper.Delete(_ctx, record, _isAuditLog);
     return DaoBase.ExecuteNonQuery(_ctx);
 }