Пример #1
0
 private void DataPortal_Fetch()
 {
     RaiseListChangedEvents = false;
     IsReadOnly             = false;
     using (var ctx = DbContextManager <cslaEFmodelContainer> .GetManager())
     {
         foreach (var item in Mjesta.GetMjesta())
         {
             this.Add(MjestaInfo.GetMjestaInfo(item));
         }
     }
     IsReadOnly             = false;
     RaiseListChangedEvents = true;
 }