/// <summary> /// Loads <see cref="A12_CityRoad"/> items on the A11_CityRoadObjects collection. /// </summary> /// <param name="collection">The grand parent <see cref="A09_CityColl"/> collection.</param> internal void LoadItems(A09_CityColl collection) { foreach (var item in this) { var obj = collection.FindA10_CityByParentProperties(item.parent_City_ID); obj.A11_CityRoadObjects.IsReadOnly = false; var rlce = obj.A11_CityRoadObjects.RaiseListChangedEvents; obj.A11_CityRoadObjects.RaiseListChangedEvents = false; obj.A11_CityRoadObjects.Add(item); obj.A11_CityRoadObjects.RaiseListChangedEvents = rlce; obj.A11_CityRoadObjects.IsReadOnly = true; } }