Beispiel #1
0
 public virtual void AddItem(PurchaseOrderItem item)
 {
     item.Order = this;
     items.Insert(0, item);
     if (ItemsChanged != null)
     {
         ItemsChanged(this, null);
     }
 }
Beispiel #2
0
 public virtual void RemoveItem(PurchaseOrderItem item)
 {
     if (items.Contains(item))
     {
         items.Remove(item);
         if (ItemsChanged != null)
         {
             ItemsChanged(this, null);
         }
     }
 }