Beispiel #1
0
 public UnitOfWork(StackGameContext _context)
 {
     context = _context;
 }
Beispiel #2
0
 public GenericRepository(StackGameContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }