partial void DeleteSalesOrderDetail(SalesOrderDetail instance);
 partial void InsertSalesOrderDetail(SalesOrderDetail instance);
 partial void UpdateSalesOrderDetail(SalesOrderDetail instance);
 private void detach_SalesOrderDetails(SalesOrderDetail entity)
 {
     this.SendPropertyChanging();
     entity.SalesOrderHeader = null;
 }