Example #1
0
 public virtual void Init()
 {
     if (PersistenceRepository != null)
     {
         PersistenceRepository.Init();
         foreach (T entity in PersistenceRepository.GetAllAsync().WaitAndUnwrapException())
         {
             Entities[entity.Id] = entity;
         }
     }
 }