コード例 #1
0
ファイル: Product.cs プロジェクト: modulexcite/LinqToSQL2
		/// <summary>Detaches this instance from the entity specified so it's no longer an associated entity</summary>
		/// <param name="entity">The related entity to detach from</param>
		private void Detach_ShoppingCartItems(ShoppingCartItem entity)
		{
			this.SendPropertyChanging("ShoppingCartItems");
			entity.Product = null;
		}
コード例 #2
0
 /// <summary>Detaches this instance from the entity specified so it's no longer an associated entity</summary>
 /// <param name="entity">The related entity to detach from</param>
 private void Detach_ShoppingCartItems(ShoppingCartItem entity)
 {
     this.SendPropertyChanging("ShoppingCartItems");
     entity.Product = null;
 }