Exemple #1
0
 public GenericRepository(SysDbContext _context)
 {
     this._context = _context;
     this._dbSet   = _context.Set <TEntity>();
 }
 private UnitOfWork()
 {
     _context = SysDbContext.Instance;
 }