Beispiel #1
0
 public bool AddEntry(SupplyOrderEntry entry)
 {
     foreach (var testEntry in OrderEntries)
     {
         if (entry.ItemName == testEntry.ItemName)
         {
             return(false);
         }
     }
     OrderEntries.Add(entry);
     return(true);
 }
Beispiel #2
0
 public void AddEntry(OrderEntry entry)
 {
     OrderEntries.Add(entry);
 }
Beispiel #3
0
 /// <summary>
 /// Порядок сортировки записей
 /// </summary>
 /// <param name="order"></param>
 /// <returns></returns>
 public IFilter AddOrder(Order order)
 {
     OrderEntries.Add(new OrderEntry(order, this));
     return(this);
 }