Esempio n. 1
0
 public Int32 Insert(NameValueCollection parameters, out ErrorEntity ErrInfo)
 {
     OEStudentExamMDA da = new OEStudentExamMDA();
     Int32 result = da.Insert(parameters);
     if (result > 0)
     {
         ErrInfo = new ErrorEntity(RespCode.Success);
     }
     else
     {
         ErrInfo = new ErrorEntity(RespCode.SysError);
     }
     return result;
 }
Esempio n. 2
0
 public int Delete(NameValueCollection where, out ErrorEntity ErrInfo)
 {
     OEStudentExamMDA da = new OEStudentExamMDA();
     int result = da.Delete(where);
     if (result > 0)
     {
         ErrInfo = new ErrorEntity(RespCode.Success);
     }
     else
     {
         ErrInfo = new ErrorEntity(RespCode.SysError);
     }
     return result;
 }
Esempio n. 3
0
 public List<OEStudentExamM> Select(NameValueCollection where, NameValueCollection orderby, int pageIndex, int pageSize, out int totalCount)
 {
     OEStudentExamMDA da = new OEStudentExamMDA();
     return da.Select(where, orderby, pageIndex, pageSize, out totalCount).DataTableToList<OEStudentExamM>();
 }
Esempio n. 4
0
 public List<OEStudentExamM> Select(NameValueCollection where, NameValueCollection orderby)
 {
     OEStudentExamMDA da = new OEStudentExamMDA();
     return da.Select(where, orderby).DataTableToList<OEStudentExamM>();
 }