Beispiel #1
0
 public void RemoveItems(IQueryable <ShoppingCartItem> items)
 {
     foreach (ShoppingCartItem item in items)
     {
         Container.DisposeInstance(item);
     }
 }
Beispiel #2
0
 /// <summary>
 ///     Delete the object from the persistent object store
 /// </summary>
 protected static void DisposeInstance(object persistentObject)
 {
     Container.DisposeInstance(persistentObject);
 }
Beispiel #3
0
 public void RemoveSalesReason(SalesOrderHeaderSalesReason reason)
 {
     this.SalesOrderHeaderSalesReason.Remove(reason);
     Container.DisposeInstance(reason);
 }