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