public ServerRepoManager()
        {
            itemRepoAdo        = new ItemRepositoryADO();
            orderRepositoryADO = new OrderRepositoryADO();
            ApplicationContext context = new ApplicationContext("mvvmApp.Dal.Abstract.Entities.ApplicationContext");

            userRepo    = new UserRepository <User>(context);
            itemRepoEF  = new ItemRepositoryEF(context);
            orderRepoEF = new OrderRepositoryEF(context);
        }
Beispiel #2
0
 public ItemService()
 {
     repoEf = new ItemRepositoryEF(new ApplicationContext("mvvmApp.Dal.Abstract.Entities.ApplicationContext"));
 }