Пример #1
0
 public static List <Product> GetPageBySearch(
     int pageNumber           = 1,
     int pageSize             = 32767,
     int siteId               = -1,
     string zoneIds           = null,
     int publishStatus        = -1,
     int languageId           = -1,
     int manufactureId        = -1,
     int productType          = -1,
     decimal?priceMin         = null,
     decimal?priceMax         = null,
     int position             = -1,
     int showOption           = -1,
     string propertyCondition = null,
     string productIds        = null,
     string keyword           = null,
     bool searchCode          = false,
     string stateIds          = null,
     int orderBy              = (int)ProductSortingEnum.Position)
 {
     return(LoadListFromReader(DBProduct.GetPageBySearch(pageNumber, pageSize, siteId, zoneIds, publishStatus, languageId, manufactureId, productType, priceMin, priceMax, position, showOption, propertyCondition, productIds, keyword, searchCode, stateIds, orderBy)));
 }