예제 #1
0
 public EntityRepository()
 {
     _context = new AccountingContext();
     _dbSet   = _context.Set <T>();
 }
예제 #2
0
 public EntityRepository(AccountingContext context)
 {
     _context = context;
     _dbSet   = _context.Set <T>();
 }