2026/10/20 -ExecuteReaderAsync returns when the first result is available, not after all rows arrive. Each ReadAsync call advances one row, so the loop processes rows as ...
2026/10/22 -ExecuteReaderAsync ... The following Console application demonstrates how to use two SqlDataReader objects with three SqlCommand objects and a single ...
2026/10/1 -Convert `SqlServerRepository` methods to use `await conn.OpenAsync()`, `await cmd.ExecuteReaderAsync()`, `await cmd.ExecuteScalarAsync()`. 3. Update ` ...
2026/9/11 -SqlClient, OpenAsync and ExecuteReaderAsync belong to different phases and have different settings. Preserve the complete exception, elapsed time, and ...
2026/10/20 -Execute a command with ExecuteReader or ExecuteReaderAsync . Resolve column ordinals for the current result. Call Read once for each row. Check nullable ...
2026/10/28 -• Task<MySqlDataReader> ExecuteReaderAsync(string, string). • Task<MySqlDataReader> ExecuteReaderAsync(string, string,. CancellationToken). • Task ...
2026/9/19 -... SqlCommand(sql, _conn); // no using SqlDataReader reader = cmd. ... using var reader = await cmd.ExecuteReaderAsync(); var orders = new List ...
2026/9/23 -await using var reader = await cmd.ExecuteReaderAsync(ct); int idOrd = reader ... await using var cmd = new SqlCommand(sql, conn, tx); cmd.Parameters ...
2026/8/27 -... ExecuteReaderAsync(ct); using var bulk = new SqlBulkCopy( targetConnection ... SqlCommand(""" UPDATE catalog.Tenants SET IsolationModel = 1 ...
2026/10/21 -... SqlCommand( """ SELECT Id, Name FROM dbo.Users WHERE Region = @region ORDER ... ExecuteReaderAsync(cancellationToken); var result = new List<(int Id ...