public FetchSingleDataLoader( FetchCache <TKey, TValue> fetch, int cacheSize, DataLoaderOptions <TKey> options) : base(options) { _fetch = fetch ?? throw new ArgumentNullException(nameof(fetch)); }
public AnimalByIdDataLoader( IDbContextFactory <AnimalFarmDbContext> dbContextFactory, IBatchScheduler batchScheduler, DataLoaderOptions <int>?options = null) : base(dbContextFactory, batchScheduler, options) { }
public FarmsByPersonIdDataLoader( IDbContextFactory <AnimalFarmDbContext> dbContextFactory, IBatchScheduler batchScheduler, DataLoaderOptions <int>?options = null) : base(batchScheduler, options) { this.dbContextFactory = dbContextFactory ?? throw new ArgumentNullException(nameof(dbContextFactory)); }
public AuthorByMessageIdDataLoader( [Service] IUserRepository userRepository, IBatchScheduler batchScheduler, DataLoaderOptions <Guid>?options = null) : base(batchScheduler, options) { _userRepository = userRepository; }
public ChannelByWorkspaceDataLoader( [Service] IChannelRepository channelRepository, IBatchScheduler batchScheduler, DataLoaderOptions <String>?options = null) : base(batchScheduler, options) { _channelRepository = channelRepository; }
public FetchBatchDataLoader( FetchBatch <TKey, TValue> fetch, IBatchScheduler batchScheduler, DataLoaderOptions options) : base(batchScheduler, options) { _fetch = fetch ?? throw new ArgumentNullException(nameof(fetch)); }
public MessageByChannelDataloader( [Service] IMessageRepository messageRepository, IBatchScheduler batchScheduler, DataLoaderOptions <String>?options = null) : base(batchScheduler, options) { _messageRepository = messageRepository; }
public TagsByIdBatchDataLoader( IDbContextFactory <QueryDbContext> contextFactory, IBatchScheduler batchScheduler, DataLoaderOptions <Guid> options = null) : base(batchScheduler, options) { _contextFactory = contextFactory; }
public SpeakerByIdDataLoader( IDbContextFactory <ApplicationDbContext> dbContextFactory, IBatchScheduler batchScheduler, DataLoaderOptions options) : base(batchScheduler, options) { _dbContextFactory = dbContextFactory ?? throw new ArgumentNullException(nameof(dbContextFactory)); }
protected EntityByIdDataLoader( IBatchScheduler batchScheduler, DataLoaderOptions options, IDbContextFactory <Data.ApplicationDbContext> dbContextFactory, Func <Data.ApplicationDbContext, DbSet <TEntity> > getQueryable ) : base(batchScheduler, options) { _dbContextFactory = dbContextFactory; _getQueryable = getQueryable; }
public GetHttpsResourceByIdDataLoader( IBatchScheduler batchScheduler, DataLoaderOptions options, IDbContextFactory <Data.ApplicationDbContext> dbContextFactory ) : base( batchScheduler, options, dbContextFactory, dbContext => dbContext.GetHttpsResources ) { }
public OpticalDataByIdDataLoader( IBatchScheduler batchScheduler, DataLoaderOptions options, IDbContextFactory <Data.ApplicationDbContext> dbContextFactory ) : base( batchScheduler, options, dbContextFactory, dbContext => dbContext.OpticalData ) { }
protected AssociationsByAssociateIdDataLoader( IBatchScheduler batchScheduler, DataLoaderOptions options, IDbContextFactory <Data.ApplicationDbContext> dbContextFactory, Func <Data.ApplicationDbContext, IReadOnlyList <Guid>, IQueryable <TAssociation> > getAssociations, Func <TAssociation, Guid> getAssociateId ) : base(batchScheduler, options) { _dbContextFactory = dbContextFactory; _getAssociations = getAssociations; _getAssociateId = getAssociateId; }
public GetHttpsResourcesByDataIdDataLoader( IBatchScheduler batchScheduler, DataLoaderOptions options, IDbContextFactory <Data.ApplicationDbContext> dbContextFactory ) : base( batchScheduler, options, dbContextFactory, (dbContext, ids) => dbContext.GetHttpsResources.AsQueryable().Where(x => ids.Contains(x.CalorimetricDataId ?? x.HygrothermalDataId ?? x.OpticalDataId ?? x.PhotovoltaicDataId ?? Guid.Empty) ), x => x.DataId ) { }
public GetHttpsResourceChildrenByGetHttpsResourceIdDataLoader( IBatchScheduler batchScheduler, DataLoaderOptions options, IDbContextFactory <Data.ApplicationDbContext> dbContextFactory ) : base( batchScheduler, options, dbContextFactory, (dbContext, ids) => dbContext.GetHttpsResources.AsQueryable().Where(x => ids.Contains(x.ParentId ?? Guid.Empty) ), x => x.Id ) { }
public FetchDataLoader(FetchBatch <TKey, TValue> fetch, DataLoaderOptions <TKey> options) : base(options) { _fetch = fetch ?? throw new ArgumentNullException(nameof(fetch)); }
public AbstractListLoader(DataLoaderOptions <TKey>?options = null) : base(options ?? DEFAULT_OPTIONS) { }
public TestBatchLoader( IBatchScheduler batchScheduler, DataLoaderOptions options = null) : base(batchScheduler, options) { }
public TestGroupedLoader( IBatchScheduler batchScheduler, DataLoaderOptions <int> options = null) : base(batchScheduler, options) { }
protected BatchDataLoader( IBatchScheduler batchScheduler, DataLoaderOptions <TKey>?options = null) : base(batchScheduler, options) { }
public FetchCacheDataLoader(FetchCacheCt <TKey, TValue> fetch, DataLoaderOptions options) : base(options) { _fetch = fetch ?? throw new ArgumentNullException(nameof(fetch)); }
public PersonsGroupDataLoader( IBatchScheduler batchScheduler, DataLoaderOptions options = null) : base(batchScheduler, options) { }