상속: DbContext
예제 #1
0
 public UnitOfWork(SampleContext context)
 {
     _context = context;
 }
 public GenericRepository(SampleContext context)
 {
     _context = context;
     _dbSet   = context.Set <T>();
 }
예제 #3
0
 public UnitOfWork(SampleContext context)
 {
     _context = context;
 }