private void Fixupv_Vehicle_Model(v_Vehicle_Model previousValue) { if (previousValue != null && previousValue.v_Customer_Vehicle.Contains(this)) { previousValue.v_Customer_Vehicle.Remove(this); } if (v_Vehicle_Model != null) { if (!v_Vehicle_Model.v_Customer_Vehicle.Contains(this)) { v_Vehicle_Model.v_Customer_Vehicle.Add(this); } if (model_id != v_Vehicle_Model.model_id) { model_id = v_Vehicle_Model.model_id; } } }
private void Fixupv_Vehicle_Model(v_Vehicle_Model previousValue) { if (previousValue != null && previousValue.v_Customer_Vehicle.Contains(this)) { previousValue.v_Customer_Vehicle.Remove(this); } if (v_Vehicle_Model != null) { if (!v_Vehicle_Model.v_Customer_Vehicle.Contains(this)) { v_Vehicle_Model.v_Customer_Vehicle.Add(this); } if (model_id != v_Vehicle_Model.model_id) { model_id = v_Vehicle_Model.model_id; } } }