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