Exemplo n.º 1
0
        public static List <ShippingLog> LoadAll()
        {
            ShippingLogQuery q = new ShippingLogQuery();

            ShippingLogCollection shippingLogCollection = new ShippingLogCollection();

            shippingLogCollection.LoadAll();

            return(shippingLogCollection.ToList());
        }
Exemplo n.º 2
0
        internal ShippingLogCollection GetShippingLogEntries()
        {
            ShippingLogCollection log = new ShippingLogCollection();
            ShippingLogQuery      q   = new ShippingLogQuery();

            q.Where(q.CartId == this.CreatedFromCartId);

            log.Load(q);

            return(log);
        }