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: ExpressiveCommandBase.cs
+11-4Lines changed: 11 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -498,13 +498,15 @@ public T[] ToArray<T>(Func<IDataRecord, T> transform)
498
498
499
499
/// <summary>
500
500
/// Iterates all records within the first result set using an IDataReader and returns the results.
501
+
/// DBNull values are left unchanged (retained).
501
502
/// </summary>
502
503
/// <returns>The QueryResult that contains all the results and the column mappings.</returns>
503
504
publicQueryResult<Queue<object[]>>Retrieve()
504
505
=>Execute(command =>command.Retrieve());
505
506
506
507
/// <summary>
507
508
/// Iterates all records within the current result set using an IDataReader and returns the desired results.
509
+
/// DBNull values are left unchanged (retained).
508
510
/// </summary>
509
511
/// <param name="ordinals">The ordinals to request from the reader for each record.</param>
510
512
/// <returns>The QueryResult that contains all the results and the column mappings.</returns>
@@ -513,6 +515,7 @@ public QueryResult<Queue<object[]>> Retrieve(IEnumerable<int> ordinals)
513
515
514
516
/// <summary>
515
517
/// Iterates all records within the current result set using an IDataReader and returns the desired results.
518
+
/// DBNull values are left unchanged (retained).
516
519
/// </summary>
517
520
/// <param name="n">The first ordinal to include in the request to the reader for each record.</param>
518
521
/// <param name="others">The remaining ordinals to request from the reader for each record.</param>
@@ -522,6 +525,7 @@ public QueryResult<Queue<object[]>> Retrieve(int n, params int[] others)
522
525
523
526
/// <summary>
524
527
/// Iterates all records within the first result set using an IDataReader and returns the desired results as a list of Dictionaries containing only the specified column values.
528
+
/// DBNull values are left unchanged (retained).
525
529
/// </summary>
526
530
/// <param name="columnNames">The column names to select.</param>
527
531
/// <returns>The QueryResult that contains all the results and the column mappings.</returns>
@@ -530,6 +534,7 @@ public QueryResult<Queue<object[]>> Retrieve(IEnumerable<string> columnNames)
530
534
531
535
/// <summary>
532
536
/// Iterates all records within the current result set using an IDataReader and returns the desired results.
537
+
/// DBNull values are left unchanged (retained).
533
538
/// </summary>
534
539
/// <param name="c">The first column name to include in the request to the reader for each record.</param>
535
540
/// <param name="others">The remaining column names to request from the reader for each record.</param>
0 commit comments