Exemple #1
0
        //WebShopDB _db;

        public ItemManager(WebShopDB db)
            : base(db)
        {
            //_db = db;
        }
Exemple #2
0
 //WebShopDB _db;
 public UserManager(WebShopDB db)
     : base(db)
 {
     //_db = db;
 }
        //WebShopDB _db; Viss, kas aizīmēts, bija vajadzīgs, lai viss strādātu bez basemanager klases

        public CategoryManager(WebShopDB db)
            : base(db) //padodam tālāk uz basemanageri
        {
            //_db = db;
        }
Exemple #4
0
 }                                          //dbSet jāizmanto using || pateiktsim, kuru tabulu būs jāizmanto
 public BaseManager(WebShopDB db)
 {
     _db = db;
 }