public virtual void AddBasketItem(BasketItem basketItem) { basketItem.Basket = this; basketItems.Add(basketItem); }
public virtual void RemoveBasketItem(BasketItem basketItem) { basketItem.Basket = null; basketItems.Remove(basketItem); }
private void detach_BasketItems(BasketItem entity) { this.SendPropertyChanging(); entity.Basket = null; }
private void attach_BasketItems(BasketItem entity) { this.SendPropertyChanging(); entity.Basket = this; }
partial void DeleteBasketItem(BasketItem instance);
partial void UpdateBasketItem(BasketItem instance);
partial void InsertBasketItem(BasketItem instance);