using System.Data.SqlClient;
using System.Threading.Tasks;
public static async Task Main()
using var connection = new SqlConnection(FiddleHelper.GetConnectionStringSqlServerW3Schools());
await foreach(var (orderId, productId, quantity) in connection.ReadAsync<int, int, int>("SELECT TOP 10 OrderId, ProductId, Quantity FROM OrderDetails"))
Console.WriteLine($"order={orderId}, product={productId} with quantity {quantity}");