コード例 #1
0
 public UnitOfWork(AppIdentityDbContext _context)
 {
     _identityContext = _context;
 }
コード例 #2
0
 public GenericRepository(AppIdentityDbContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }