Esempio n. 1
0
 public DocumentEnumerable(
     CosmosClient cosmosClient, QueryContext queryContext, string collectionId, SelectExpression selectExpression)
 {
     _cosmosClient     = cosmosClient;
     _queryContext     = queryContext;
     _collectionId     = collectionId;
     _selectExpression = selectExpression;
 }
 public DocumentQueryExpression(bool async, string collectionId, SelectExpression selectExpression)
 {
     _async           = async;
     _collectionId    = collectionId;
     SelectExpression = selectExpression;
 }
Esempio n. 3
0
 private static IAsyncEnumerable <JObject> _QueryAsync(
     CosmosClient cosmosClient,
     QueryContext queryContext,
     string collectionId,
     SelectExpression selectExpression)
 => new DocumentAsyncEnumerable(cosmosClient, queryContext, collectionId, selectExpression);