Example #1
0
 public UnitOfWork(RenetduxDatabaseContext context)
 {
     _context = context;
 }
Example #2
0
 public UserRepository(RenetduxDatabaseContext context) : base(context)
 {
     _context = context;
 }
Example #3
0
 protected BaseRepository(RenetduxDatabaseContext context)
 {
     Context = context ?? throw new ArgumentNullException(nameof(context));
     _dbSet  = context.Set <TEntity>();
 }