public int Delete(NameValueCollection where, out ErrorEntity ErrInfo)
 {
     OEChooseQuestionDA da = new OEChooseQuestionDA();
     int result = da.Delete(where);
     if (result > 0)
     {
         ErrInfo = new ErrorEntity(RespCode.Success);
     }
     else
     {
         ErrInfo = new ErrorEntity(RespCode.SysError);
     }
     return result;
 }
 public Int32 Insert(NameValueCollection parameters, out ErrorEntity ErrInfo)
 {
     OEChooseQuestionDA da = new OEChooseQuestionDA();
     try
     {
         Int32 result = da.Insert(parameters);
         if (result > 0)
         {
             ErrInfo = new ErrorEntity(RespCode.Success);
         }
         else
         {
             ErrInfo = new ErrorEntity(RespCode.SysError);
         }
         return result;
     }
     catch (Exception ex)
     {
         ErrInfo = new ErrorEntity("999999", ex.Message);
         return -1;
     }
 }
 public List<OEChooseQuestion> Select(NameValueCollection where, NameValueCollection orderby, int pageIndex, int pageSize, out int totalCount)
 {
     OEChooseQuestionDA da = new OEChooseQuestionDA();
     return da.Select(where, orderby, pageIndex, pageSize, out totalCount).DataTableToList<OEChooseQuestion>();
 }
 public List<OEChooseQuestion> Select(NameValueCollection where, NameValueCollection orderby)
 {
     OEChooseQuestionDA da = new OEChooseQuestionDA();
     return da.Select(where, orderby).DataTableToList<OEChooseQuestion>();
 }