private void FixupCustomer(Customer previousValue)
        {
            if (previousValue != null
                && ReferenceEquals(previousValue.Individual, this))
            {
                previousValue.Individual = null;
            }

            if (Customer != null)
            {
                Customer.Individual = this;
                if (CustomerID != Customer.CustomerID)
                {
                    CustomerID = Customer.CustomerID;
                }
            }
        }
        private void FixupCustomer(Customer previousValue)
        {
            if (previousValue != null
                && previousValue.SalesOrderHeaders.Contains(this))
            {
                previousValue.SalesOrderHeaders.Remove(this);
            }

            if (Customer != null)
            {
                if (!Customer.SalesOrderHeaders.Contains(this))
                {
                    Customer.SalesOrderHeaders.Add(this);
                }
                if (CustomerID != Customer.CustomerID)
                {
                    CustomerID = Customer.CustomerID;
                }
            }
        }