private void detach_CartDetail(CartDetail entity)
 {
     this.SendPropertyChanging();
     entity.Product = null;
 }
 private void attach_CartDetail(CartDetail entity)
 {
     this.SendPropertyChanging();
     entity.Cart = this;
 }
 partial void UpdateCartDetail(CartDetail instance);
 partial void DeleteCartDetail(CartDetail instance);
 partial void InsertCartDetail(CartDetail instance);