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)); }
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); }