Esempio n. 1
0
        private void CheckLots()
        {
            if (SupplierOrder.lots == null)
            {
                SupplierOrder.lots = new List <LotEF>();
            }

            SupplierOrder.lots.Clear();

            foreach (var item in LotsList.Where(ll => ll.inplay == true))
            {
                var lot = DataBaseClient.ReadLot(item.id);

                if (lot != null)
                {
                    SupplierOrder.lots.Add(lot);
                }
            }
        }