예제 #1
0
        public DbManager()
        {
            context = new ShopDbContext();

            //context.SaveChanges();
        }
예제 #2
0
 internal GenericRepository(ShopDbContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }