protected IEnumerable <ActiveCommerce.Orders.Legacy.Order> GetLegacyOrders() { var manager = Sitecore.Ecommerce.Context.Entity.Resolve <Sitecore.Ecommerce.DomainModel.Orders.IOrderManager <Sitecore.Ecommerce.DomainModel.Orders.Order> >(); //need at least one condition in the query or the SES OrderManager will throw an error var query = new Sitecore.Ecommerce.Search.Query(); query.AppendField("ItemsInShoppingCart", "-1", Sitecore.Ecommerce.Search.MatchVariant.NotEquals); return(manager.GetOrders(query).Cast <ActiveCommerce.Orders.Legacy.Order>()); }
public System.Data.DataTable GetRangeByQuery(Sitecore.Ecommerce.Search.Query query, int pageIndex, int pageSize, Sitecore.Ecommerce.Services.ServiceClientArgs args) { return(base.Channel.GetRangeByQuery(query, pageIndex, pageSize, args)); }
public int GetCount(Sitecore.Ecommerce.Search.Query query, Sitecore.Ecommerce.Services.ServiceClientArgs args) { return(base.Channel.GetCount(query, args)); }
public System.Data.DataTable GetByQuery(Sitecore.Ecommerce.Search.Query query, Sitecore.Ecommerce.Services.ServiceClientArgs args) { return(base.Channel.GetByQuery(query, args)); }