/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public CosmosQueryContextFactory( [NotNull] QueryContextDependencies dependencies, [NotNull] CosmosClientWrapper cosmosClient) { _dependencies = dependencies; _cosmosClient = cosmosClient; }
/// <inheritdoc /> public MongoDbQueryContextFactory( [NotNull] QueryContextDependencies queryContextDependencies, [NotNull] IMongoDbConnection mongoDbConnection) : base(Check.NotNull(queryContextDependencies, nameof(queryContextDependencies))) { _mongoDbConnection = Check.NotNull(mongoDbConnection, nameof(mongoDbConnection)); }
public MongoQueryContextFactory( QueryContextDependencies dependencies, IMongoConnection cosmosClient) { _dependencies = dependencies; _mongoClient = cosmosClient; }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public InMemoryQueryContext( [NotNull] QueryContextDependencies dependencies, // Internal code: see #15096 [NotNull] Func <IQueryBuffer> queryBufferFactory, [NotNull] IInMemoryStore store) : base(dependencies, queryBufferFactory) => Store = store;
public MongoQueryContext( QueryContextDependencies dependencies, IMongoConnection cosmosClient) : base(dependencies) { MongoClient = cosmosClient; }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public CosmosQueryContext( [NotNull] QueryContextDependencies dependencies, [NotNull] CosmosClientWrapper cosmosClient) : base(dependencies) { CosmosClient = cosmosClient; }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public InMemoryQueryContext( QueryContextDependencies dependencies, IInMemoryStore store) : base(dependencies) { Store = store; }
/// <summary> /// Creates a new <see cref="RelationalQueryContextFactory"/> instance using the given dependencies. /// </summary> /// <param name="dependencies"> The dependencies to use. </param> /// <param name="relationalDependencies"> Relational-specific dependencies. </param> public RelationalQueryContextFactory( [NotNull] QueryContextDependencies dependencies, [NotNull] RelationalQueryContextDependencies relationalDependencies) { _dependencies = dependencies; _relationalDependencies = relationalDependencies; }
public CosmosSqlQueryContextFactory( [NotNull] QueryContextDependencies dependencies, [NotNull] CosmosClient cosmosClient) : base(dependencies) { _cosmosClient = cosmosClient; }
/// <summary> /// <para> /// Creates a new <see cref="RelationalQueryContext" /> instance. /// </para> /// <para> /// This type is typically used by database providers (and other extensions). It is generally /// not used in application code. /// </para> /// </summary> /// <param name="dependencies">Parameter object containing dependencies for this class.</param> /// <param name="relationalDependencies">Parameter object containing relational dependencies for this class.</param> public RelationalQueryContext( QueryContextDependencies dependencies, RelationalQueryContextDependencies relationalDependencies) : base(dependencies) { RelationalDependencies = relationalDependencies; }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public CosmosQueryContextFactory( QueryContextDependencies dependencies, ICosmosClientWrapper cosmosClient) { Dependencies = dependencies; _cosmosClient = cosmosClient; }
public InfoCarrierQueryContextFactory( QueryContextDependencies dependencies, IDbContextOptions contextOptions) : base(dependencies) { this.infoCarrierClient = contextOptions.Extensions.OfType <InfoCarrierOptionsExtension>().First().InfoCarrierClient; }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public RelationalQueryContextFactory( QueryContextDependencies dependencies, RelationalQueryContextDependencies relationalDependencies) { Dependencies = dependencies; RelationalDependencies = relationalDependencies; }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public CosmosQueryContext( QueryContextDependencies dependencies, ICosmosClientWrapper cosmosClient) : base(dependencies) { CosmosClient = cosmosClient; }
/// <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 HarmonyQueryContext( QueryContextDependencies dependencies, IDataObjectProvider store) : base(dependencies) { Store = store; }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public InMemoryQueryContextFactory( QueryContextDependencies dependencies, IInMemoryStoreCache storeCache, IDbContextOptions contextOptions) { _store = storeCache.GetStore(contextOptions); 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> public HarmonyQueryContext( QueryContextDependencies dependencies, Func <IQueryBuffer> queryBufferFactory, IDataObjectProvider store) : base(dependencies, () => new QueryBufferWrapper(dependencies)) { Store = store; }
/// <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 FileContextQueryContextFactory( [NotNull] QueryContextDependencies dependencies, [NotNull] IFileContextStoreCache storeCache, [NotNull] IDbContextOptions contextOptions) : base(dependencies) { _store = storeCache.GetStore(contextOptions.Extensions.OfType <FileContextOptionsExtension>().First()); }
public CosmosQueryContext( [NotNull] QueryContextDependencies dependencies, [NotNull] Func <IQueryBuffer> queryBufferFactory, [NotNull] CosmosClient cosmosClient) : base(dependencies, queryBufferFactory) { CosmosClient = cosmosClient; }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public CosmosQueryContext( [NotNull] QueryContextDependencies dependencies, [NotNull] CosmosClientWrapper cosmosClient) : base(dependencies) { Check.NotNull(cosmosClient, nameof(cosmosClient)); CosmosClient = cosmosClient; }
public FileContextQueryContextFactory( [NotNull] QueryContextDependencies dependencies, [NotNull] IFileContextStoreCache storeCache, [NotNull] IDbContextOptions contextOptions) { _store = storeCache.GetStore(contextOptions); _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> public InMemoryQueryContext( [NotNull] QueryContextDependencies dependencies, [NotNull] Func <IQueryBuffer> queryBufferFactory, [NotNull] IInMemoryStore store) : base(dependencies, queryBufferFactory) { Store = store; }
public GDbQueryContextFactory( QueryContextDependencies queryContextDependencies, IGDbStoreCache gDbStoreCache, IDbContextOptions dbContextOptions, IGDbQueryExecutorFactory gDbQueryBuilderFactory) : base( queryContextDependencies) => _gDbStore
public InfoCarrierQueryContext( QueryContextDependencies dependencies, Func <IQueryBuffer> queryBufferFactory, IInfoCarrierClient infoCarrierClient) : base(dependencies, queryBufferFactory) { this.InfoCarrierClient = infoCarrierClient; }
public MySqlQueryContextFactory( [NotNull] QueryContextDependencies dependencies, [NotNull] IRelationalConnection connection, [NotNull] IExecutionStrategyFactory executionStrategyFactory) : base(dependencies, connection, executionStrategyFactory) { _connection = connection; }
/// <inheritdoc /> public MongoDbQueryContextFactory( [NotNull] QueryContextDependencies queryContextDependencies, [NotNull] IEntityLoadInfoFactory entityLoadInfoFactory) : base( Check.NotNull(queryContextDependencies, nameof(queryContextDependencies))) { _entityLoadInfoFactory = Check.NotNull(entityLoadInfoFactory, nameof(entityLoadInfoFactory)); }
/// <summary> /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to /// the same compatibility standards as public APIs. It may be changed or removed without notice in /// any release. You should only use it directly in your code with extreme caution and knowing that /// doing so can result in application failures when updating to a new Entity Framework Core release. /// </summary> public InMemoryQueryContextFactory( [NotNull] QueryContextDependencies dependencies, [NotNull] IInMemoryStoreCache storeCache, [NotNull] IDbContextOptions contextOptions) : base(dependencies) { _store = storeCache.GetStore(contextOptions); }
public GDbQueryContext( QueryContextDependencies dependencies, Func <IQueryBuffer> queryBufferFactory, IGDbStore gDbStore) : base( dependencies, queryBufferFactory) => Store = gDbStore;
/// <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 HarmonyQueryContextFactory( QueryContextDependencies dependencies, IDataObjectProvider provider, IDbContextOptions contextOptions) : base(dependencies) { _provider = provider; }
/// <inheritdoc /> public ThinktectureRelationalQueryContextFactory( QueryContextDependencies dependencies, RelationalQueryContextDependencies relationalDependencies, ITenantDatabaseProviderFactory tenantDatabaseProviderFactory) : base(dependencies, relationalDependencies) { _tenantDatabaseProviderFactory = tenantDatabaseProviderFactory ?? throw new ArgumentNullException(nameof(tenantDatabaseProviderFactory)); }