Exemplo n.º 1
0
 public Repository(WorkDBContext dBContext)
 {
     _dbContext        = dBContext;
     _dbSet            = _dbContext.Set <T>();
     _connectionString = dBContext.Database.GetDbConnection().ConnectionString;
 }
Exemplo n.º 2
0
 public EmployeeRepository(WorkDBContext db)
 {
     _context = db;
 }