private void Fetch() { var rlce = RaiseListChangedEvents; RaiseListChangedEvents = false; IsReadOnly = false; using (var dalManager = DalFactory.GetManager(DalManagerTypes.DalManagerDb)) { IVehicleDal dal = dalManager.GetProvider <IVehicleDal>(); IList <VehicleDto> data = null; data = dal.Fetch(); if (data != null) { foreach (var item in data) { Add(DataPortal.FetchChild <VehicleInfo>(item)); } } RaiseListChangedEvents = rlce; IsReadOnly = true; } }