public UnitOfWorkManager(IAnnapolisDbContext context)
        {
            
            Database.SetInitializer<AnnapolisDbContext>(null);

            _context = context as AnnapolisDbContext;
        }
Beispiel #2
0
 public Repository(IAnnapolisDbContext context)
 {
     DbContext = context;
 }
Beispiel #3
0
        public UnitOfWorkManager(IAnnapolisDbContext context)
        {
            Database.SetInitializer <AnnapolisDbContext>(null);

            _context = context as AnnapolisDbContext;
        }