Exemplo n.º 1
0
 public BaseRepository(ITISKeysDbContext context)
 {
     _context = context;
     _dbSet   = context.Set <TEntity>();
 }
Exemplo n.º 2
0
 public UnitOfWork(string connectionString, IITISKeysDbContextFactory context)
 {
     _context = context.CreateDbContext(connectionString);
 }