You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ var result = connectionFactory
28
28
29
29
End-to-end asynchronous methods suffixed with `Async`.
30
30
31
-
When using the SQL Client, asychronous methods are available as well as `.ToTargetBlockAsync<T>(target)` and `.AsSourceBlockAsync<T>()` Dataflow methods.
31
+
When using the SQL Client, asychronous methods are available as well as ```.ToTargetBlockAsync<T>(target)``` and ```.AsSourceBlockAsync<T>()``` Dataflow methods.
32
32
33
33
## Extensions
34
34
@@ -51,7 +51,7 @@ var myResult = await cmd.ToListAsync(transform);
51
51
52
52
In order to keep connection open time to a minimum, some methods cache data before closing the connection and then subsequently applying the transformations as needed.
53
53
54
-
#### `Results<T>()` and `ResultsAsync<T>()`
54
+
#### ```Results<T>()``` and ```ResultsAsync<T>()```
55
55
56
56
Queues all the data. Then using the provided type `T` entity, the data is coerced by which properties intersect with the ones available to the ```IDataReader```.
57
57
@@ -86,18 +86,18 @@ var people = cmd.Results<Person>(new Dictionary<string,string>{
86
86
87
87
#### `Retrieve()` and `RetrieveAsync()`
88
88
89
-
Queuesallthedata. Returnsa `QueryResult<Queue<object[]>>` containingtherequesteddataandcolumninformation. The `.AsDequeueingMappedEnumerable()` extensionwilliterativelyconverttheresultstodictionariesforeaseofaccess.
89
+
Queuesallthedata. Returnsa ```QueryResult<Queue<object[]>>``` containingtherequesteddataandcolumninformation. The `.AsDequeueingMappedEnumerable()` extensionwilliterativelyconverttheresultstodictionariesforeaseofaccess.
90
90
91
-
#### `AsSourceBlockAsync<T>()`
91
+
#### ```AsSourceBlockAsync<T>()```
92
92
93
93
(Fullyasynchronous.) RetunsaDataflowsourceblock. ThenasynchronouslybuffersandtransformstheresultsallowingforanypossibleDataflowconfiguration. Thesourceblockismarkedascomplete when there are no more results. If the block is somehow marked as complete externally, the flow of data will stop and the connection will close.
94
94
95
-
### `AsSourceBlockAsync<T>()` versus `ResultsAsync<T>`
95
+
### ```AsSourceBlockAsync<T>()``` versus ```ResultsAsync<T>```
Bothmethodsultimatelyareusinga `Queue<object[]>` or `ConcurrentQueue<object[]>` (Dataflow) tobufferthedata, but `ResultsAsync<T>()` bufferstheentiredatasetbeforedequeuingandtransformingtheresults.
103
+
Bothmethodsultimatelyareusinga ```Queue<object[]>```or ```ConcurrentQueue<object[]>``` (Dataflow) tobufferthedata, but ```ResultsAsync<T>()``` bufferstheentiredatasetbeforedequeuingandtransformingtheresults.
0 commit comments