partial void DeleteSalesOrderHeader(SalesOrderHeader instance);
 partial void InsertSalesOrderHeader(SalesOrderHeader instance);
 partial void UpdateSalesOrderHeader(SalesOrderHeader instance);
 private void detach_SalesOrderHeaders(SalesOrderHeader entity)
 {
     this.SendPropertyChanging();
     entity.Customer = null;
 }