public Task WhenIIterateTheQueryWithAnAsynchronousActionAndStoreTheEntityInstanceOfPersonObjectsSeenIn(string queryText, string containerKey, string resultsKey)
 {
     return(CosmosExtensionsDriver.IteratePeopleWithAsyncMethodAsync <EntityInstance <Person> >(queryText, this.ScenarioContext, containerKey, this.ScenarioContext, resultsKey));
 }
        public Task GivenIAddACollectionOfPersonObjectsCalledToTheCosmosContainer(string peopleKey, string containerKey, Table table)
        {
            IList <Person> people = PersonDriver.CreatePeople(table, this.ScenarioContext, peopleKey);

            return(CosmosExtensionsDriver.AddPeopleToContainerAsync(this.ScenarioContext, containerKey, people));
        }
 public Task WhenIIterateTheQueryWithAnAsynchronousActionAndStoreThePersonObjectsSeenIn(string queryText, string containerKey, int batchSize, int maxBatchCount, string resultsKey)
 {
     return(CosmosExtensionsDriver.IteratePeopleWithAsyncMethodAsync <Person>(queryText, this.ScenarioContext, containerKey, this.ScenarioContext, resultsKey, batchSize, maxBatchCount));
 }
 public Task GivenThatICreateACosmosContainerCalled(string containerKey)
 {
     return(CosmosExtensionsDriver.CreateContainer("/id", this.FeatureContext, this.ScenarioContext, containerKey));
 }