Esempio n. 1
0
 public virtual void AddDetail(SalesInfoDetail detail)
 {
     detail.Info = this;
     details.Add(detail);
     if (DetailsChanged != null)
     {
         DetailsChanged(this, null);
     }
 }
Esempio n. 2
0
 public virtual void RemoveDetail(SalesInfoDetail detail)
 {
     if (details.Contains(detail))
     {
         details.Remove(detail);
         if (DetailsChanged != null)
         {
             DetailsChanged(this, null);
         }
     }
 }