/// <summary> /// Invokes the 'DiscontinueProduct' method of the specified <see cref="Product"/> entity. /// </summary> /// <param name="product">The <see cref="Product"/> entity instance.</param> public void DiscontinueProduct(Product product) { product.DiscontinueProduct(); }
private bool FilterProducts(Product entity) { return (entity.CategoryID == this.CategoryID); }
private void AttachProducts(Product entity) { entity.Category = this; }
private void DetachProducts(Product entity) { entity.Category = null; }
private bool FilterProduct(Product entity) { return (entity.ProductID == this.ProductID); }