public static List <ShippingLog> LoadAll() { ShippingLogQuery q = new ShippingLogQuery(); ShippingLogCollection shippingLogCollection = new ShippingLogCollection(); shippingLogCollection.LoadAll(); return(shippingLogCollection.ToList()); }
internal ShippingLogCollection GetShippingLogEntries() { ShippingLogCollection log = new ShippingLogCollection(); ShippingLogQuery q = new ShippingLogQuery(); q.Where(q.CartId == this.CreatedFromCartId); log.Load(q); return(log); }