/// <summary> /// This API supports the Entity Framework Core infrastructure and is not intended to be used /// directly from your code. This API may change or be removed in future releases. /// </summary> public QueryContext( [NotNull] QueryContextDependencies dependencies, [NotNull] Func <IQueryBuffer> queryBufferFactory) { Check.NotNull(queryBufferFactory, nameof(queryBufferFactory)); Check.NotNull(dependencies, nameof(dependencies)); _queryBufferFactory = queryBufferFactory; Dependencies = dependencies; }
/// <summary> /// This API supports the Entity Framework Core infrastructure and is not intended to be used /// directly from your code. This API may change or be removed in future releases. /// </summary> /// <param name="dependencies"> Parameter object containing dependencies for this service. </param> protected QueryContextFactory([NotNull] QueryContextDependencies dependencies) { Check.NotNull(dependencies, nameof(dependencies)); Dependencies = dependencies; }