示例#1
0
 public SoundRepository(SoundBoardContext context) : base(context)
 {
 }
示例#2
0
 public BaseRepository(SoundBoardContext context)
 {
     _context = context ?? throw new ArgumentNullException(nameof(context));
     _dbSet   = _context.Set <TEntity>();
 }