private void detach_OrderDetailTBs(OrderDetailTB entity)
 {
     this.SendPropertyChanging();
     entity.OrderTB = null;
 }
 private void attach_OrderDetailTBs(OrderDetailTB entity)
 {
     this.SendPropertyChanging();
     entity.ProductTB = this;
 }
 partial void UpdateOrderDetailTB(OrderDetailTB instance);
 partial void DeleteOrderDetailTB(OrderDetailTB instance);
 partial void InsertOrderDetailTB(OrderDetailTB instance);