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