private void detach_orderproducts(orderproduct entity)
 {
     this.SendPropertyChanging();
     entity.Product = null;
 }
 private void attach_orderproducts(orderproduct entity)
 {
     this.SendPropertyChanging();
     entity.Product = this;
 }
 partial void Updateorderproduct(orderproduct instance);
 partial void Deleteorderproduct(orderproduct instance);
 partial void Insertorderproduct(orderproduct instance);