@@ -48,7 +48,7 @@ Task<CreateResponse> CreateRecordAsync<T>(
4848 /// <param name="objectId"> Id of Object to update</param>
4949 /// <param name="cancellationToken"></param>
5050 /// <returns> void, API returns 204/NoContent</returns>
51- Task DeleteRecord (
51+ Task DeleteRecordAsync (
5252 string sObjectTypeName ,
5353 string objectId ,
5454 CancellationToken cancellationToken = default ) ;
@@ -170,42 +170,6 @@ Task<List<T>> QueryAsync<T>(
170170 bool queryAll = false ,
171171 CancellationToken cancellationToken = default ) ;
172172
173- /// <summary>
174- /// Retrieve a System.Collections.Generic.IAsyncEnumerable`1 using a SOQL query.
175- /// Batches will be retrieved asynchronously.
176- /// When using the iterator, the initial result batch will be returned as soon as
177- /// it is received. The additional result batches will be retrieved only as needed.
178- /// </summary>
179- /// <typeparam name="T"></typeparam>
180- /// <param name="queryString">SOQL query string, without any URL escaping/encoding</param>
181- /// <param name="queryAll"> Optional. True if deleted records are to be included.await Defaults to false.</param>
182- /// <param name="batchSize">Optional. Size of result batches between 200 and 2000</param>
183- /// <param name="cancellationToken"></param>
184- /// <returns></returns>
185- IAsyncEnumerable < T > QueryAsync < T > (
186- string queryString ,
187- bool queryAll = false ,
188- int ? batchSize = null ,
189- CancellationToken cancellationToken = default ) ;
190-
191- /// <summary>
192- /// Retrieve a System.Collections.Generic.IAsyncEnumerator`1 using a SOQL query.
193- /// Batches will be retrieved asynchronously.
194- /// When using the iterator, the initial result batch will be returned as soon as
195- /// it is received. The additional result batches will be retrieved only as needed.
196- /// </summary>
197- /// <typeparam name="T"></typeparam>
198- /// <param name="queryString">SOQL query string, without any URL escaping/encoding</param>
199- /// <param name="queryAll">Optional. True if deleted records are to be included.await Defaults to false.</param>
200- /// <param name="batchSize">Optional. Size of result batches between 200 and 2000</param>
201- /// <param name="cancellationToken"></param>
202- /// <returns> System.Collections.Generic.IAsyncEnumerator`1 of results</returns>
203- IAsyncEnumerator < T > QueryAsyncEnumerator < T > (
204- string queryString ,
205- bool queryAll = false ,
206- int ? batchSize = null ,
207- CancellationToken cancellationToken = default ) ;
208-
209173 /// <summary>
210174 /// Retrieve a single record using a SOQL query.
211175 /// Will throw an exception if multiple rows are retrieved by the query - if you
@@ -245,7 +209,7 @@ Task<SearchResult<T>> SearchAsync<T>(
245209 /// <param name="currentInstanceUrl"></param>
246210 /// <param name="cancellationToken"></param>
247211 /// <returns> True or false. Does not throw exceptions, only false in case of any errors.</returns>
248- bool TestConnection (
212+ bool TestConnectionAsync (
249213 string currentInstanceUrl = null ,
250214 CancellationToken cancellationToken = default ) ;
251215
0 commit comments