Migrating Catalog Library
In the old days you could access CatalogLibrary via a static accessor:
UCommerce.Api.CatalogLibrary
To grab the new CatalogLibrary use the DI Container:
using Ucommerce.Api; using Ucommerce.Infrastructure;
The catalogLibrary has been slimmed down, and input and return models are now longer backed by UCommerce.EntitiesV2 (NHibernate entities).
Instead they return Search models found under
using Ucommerce.Search.Models;
The only exception to this is the price calculation which remains the same.