Example #1
0
 public Repository(FMContext context)
 {
     this._context = context;
     _entities     = context.Set <T>();
 }
Example #2
0
 public BaseRepository(FMContext context)
 {
     _context  = context;
     _entities = _context.Set <T>();
 }