Example #1
0
 public ProfileRepository(ProfileDbContext context)
 {
     _context  = context;
     _entities = context.Set <T>();
 }
Example #2
0
 protected GenericRepository(ProfileDbContext dataContext)
 {
     _dataContext = dataContext;
     _table       = dataContext.Set <TEntity>();
 }