public int Update(NameValueCollection parameters, NameValueCollection where, out ErrorEntity ErrInfo) { PmPartymemberDA da = new PmPartymemberDA(); int result = da.Update(parameters, where); if (result > 0) { ErrInfo = new ErrorEntity(RespCode.Success); } else { ErrInfo = new ErrorEntity(RespCode.SysError); } return result; }
public List<PmPartymember> Select(NameValueCollection where, NameValueCollection orderby, int pageIndex, int pageSize, out int totalCount) { PmPartymemberDA da = new PmPartymemberDA(); return da.Select(where, orderby, pageIndex, pageSize, out totalCount).DataTableToList<PmPartymember>(); }
public List<PmPartymember> Select(NameValueCollection where, NameValueCollection orderby) { PmPartymemberDA da = new PmPartymemberDA(); return da.Select(where, orderby).DataTableToList<PmPartymember>(); }