private void Fixupv_Customer(v_Customer previousValue) { if (previousValue != null && previousValue.v_Customer_Vehicle.Contains(this)) { previousValue.v_Customer_Vehicle.Remove(this); } if (v_Customer != null) { if (!v_Customer.v_Customer_Vehicle.Contains(this)) { v_Customer.v_Customer_Vehicle.Add(this); } if (customer_id != v_Customer.customer_id) { customer_id = v_Customer.customer_id; } } }