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