public Int64 Insert(NameValueCollection parameters, out ErrorEntity ErrInfo)
 {
     PortalProductListDA da = new PortalProductListDA();
     Int64 result = da.InsertAndReturnId64(parameters);
     if (result > 0)
     {
         ErrInfo = new ErrorEntity(RespCode.Success);
     }
     else
     {
         ErrInfo = new ErrorEntity(RespCode.SysError);
     }
     return result;
 }
 public Int32 Delete(NameValueCollection where, out ErrorEntity ErrInfo)
 {
     PortalProductListDA da = new PortalProductListDA();
     Int32 result = da.Delete(where);
     if (result > 0)
     {
         ErrInfo = new ErrorEntity(RespCode.Success);
     }
     else
     {
         ErrInfo = new ErrorEntity(RespCode.SysError);
     }
     return result;
 }
 public List<PortalProductList> Select(NameValueCollection where, NameValueCollection orderby, Int32 PageIndex, Int32 PageSize, out Int32 totalCount)
 {
     PortalProductListDA da = new PortalProductListDA();
     return da.Select(where, orderby, PageIndex, PageSize, out totalCount).DataTableToList<PortalProductList>();
 }
 public List<PortalProductList> Select(NameValueCollection where, NameValueCollection orderby)
 {
     PortalProductListDA da = new PortalProductListDA();
     return da.Select(where, orderby).DataTableToList<PortalProductList>();
 }