private void DataPortal_Fetch() { using (var ctx = ContextManager <EFDataContext> .GetManager(Database.EFramework)) { var i = from p in ctx.DataContext.EF_BarMark select EF_BarMarkFactory.Fetch(p); this.RaiseListChangedEvents = false; this.IsReadOnly = false; this.AddRange(i); this.IsReadOnly = true; this.RaiseListChangedEvents = true; } }