Ejemplo n.º 1
0
 public SqlUnitOfWork(IWebApplicationConfig config)
 {
     _config       = config;
     _sqlDbContext = new SqlDbContext(_config);
 }
Ejemplo n.º 2
0
 public SqlRepository(SqlDbContext context)
 {
     _context = context;
     _dbSet   = _context.Set <TEntity>();
 }