public InshortPart(OrderDetail od, Part p)
 {
     this.EnglishName = p.EnglishName;
     this.VietnamName = p.VietnamName;
     this.OrderQuantity = od.OrderQuantity;
     this.QuotationQuantity = od.QuotationQuantity;
     this.ShortQuantity = this.OrderQuantity - this.QuotationQuantity;
     this.PartCode = od.PartCode;
 }
 private void detach_OrderDetails(OrderDetail entity)
 {
     this.SendPropertyChanging();
     entity.OrderHeader = null;
 }
 private void attach_OrderDetails(OrderDetail entity)
 {
     this.SendPropertyChanging("OrderDetails");
     entity.OrderHeader = this;
 }