public Enumerator(DocumentEnumerable documentEnumerable) { _cosmosClient = documentEnumerable._cosmosClient; _containerId = documentEnumerable._containerId; _partitionKey = documentEnumerable._partitionKey; _cosmosSqlQuery = documentEnumerable._cosmosSqlQuery; }
public AsyncEnumerator(DocumentAsyncEnumerable documentEnumerable, CancellationToken cancellationToken) { _cosmosClient = documentEnumerable._cosmosClient; _containerId = documentEnumerable._containerId; _cosmosSqlQuery = documentEnumerable._cosmosSqlQuery; _cancellationToken = cancellationToken; }
/// <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 CosmosQueryContextFactory( [NotNull] QueryContextDependencies dependencies, [NotNull] CosmosClientWrapper cosmosClient) { _dependencies = 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 CosmosQueryContext( [NotNull] QueryContextDependencies dependencies, [NotNull] CosmosClientWrapper cosmosClient) : base(dependencies) { Check.NotNull(cosmosClient, nameof(cosmosClient)); CosmosClient = cosmosClient; }
public CosmosQueryContext( [NotNull] QueryContextDependencies dependencies, [NotNull] Func <IQueryBuffer> queryBufferFactory, [NotNull] CosmosClientWrapper cosmosClient) : base(dependencies, queryBufferFactory) { CosmosClient = cosmosClient; }
public DocumentAsyncEnumerable( CosmosClientWrapper cosmosClient, string containerId, CosmosSqlQuery cosmosSqlQuery) { _cosmosClient = cosmosClient; _containerId = containerId; _cosmosSqlQuery = cosmosSqlQuery; }
public CosmosQueryContextFactory( [NotNull] QueryContextDependencies dependencies, [NotNull] CosmosClientWrapper cosmosClient) { Check.NotNull(dependencies, nameof(dependencies)); Check.NotNull(cosmosClient, nameof(cosmosClient)); _dependencies = dependencies; _cosmosClient = cosmosClient; }
public DocumentAsyncEnumerable( CosmosClientWrapper cosmosClient, string containerId, string partitionKey, CosmosSqlQuery cosmosSqlQuery) { _cosmosClient = cosmosClient; _containerId = containerId; _patitionKey = partitionKey; _cosmosSqlQuery = cosmosSqlQuery; }
protected ReadItemBase( ReadItemQueryingEnumerable <T> readItemEnumerable) { #pragma warning disable EF1001 _stateManager = readItemEnumerable._cosmosQueryContext.StateManager; #pragma warning restore EF1001 CosmosQueryContext = readItemEnumerable._cosmosQueryContext; _readItemExpression = readItemEnumerable._readItemExpression; _entityType = readItemEnumerable._readItemExpression.EntityType; CosmosClient = readItemEnumerable._cosmosQueryContext.CosmosClient; ContainerId = _readItemExpression.Container; Shaper = readItemEnumerable._shaper; ContextType = readItemEnumerable._contextType; Logger = readItemEnumerable._logger; }
public AsyncEnumerator(DocumentAsyncEnumerable documentEnumerable) { _cosmosClient = documentEnumerable._cosmosClient; _containerId = documentEnumerable._containerId; _cosmosSqlQuery = documentEnumerable._cosmosSqlQuery; }