示例#1
0
 public int Update(NameValueCollection parameters, NameValueCollection where, out ErrorEntity ErrInfo)
 {
     OEStudentLogDA da = new OEStudentLogDA();
     int result = da.Update(parameters, where);
     if (result > 0)
     {
         ErrInfo = new ErrorEntity(RespCode.Success);
     }
     else
     {
         ErrInfo = new ErrorEntity(RespCode.SysError);
     }
     return result;
 }
示例#2
0
 public Int32 Insert(NameValueCollection parameters, out ErrorEntity ErrInfo)
 {
     OEStudentLogDA da = new OEStudentLogDA();
     Int32 result = da.Insert(parameters);
     if (result > 0)
     {
         ErrInfo = new ErrorEntity(RespCode.Success);
     }
     else
     {
         ErrInfo = new ErrorEntity(RespCode.SysError);
     }
     return result;
 }
示例#3
0
 public List<OEStudentLog> Select(NameValueCollection where, NameValueCollection orderby, int pageIndex, int pageSize, out int totalCount)
 {
     OEStudentLogDA da = new OEStudentLogDA();
     return da.Select(where, orderby, pageIndex, pageSize, out totalCount).DataTableToList<OEStudentLog>();
 }
示例#4
0
 public List<OEStudentLog> Select(NameValueCollection where, NameValueCollection orderby)
 {
     OEStudentLogDA da = new OEStudentLogDA();
     return da.Select(where, orderby).DataTableToList<OEStudentLog>();
 }