約2,110件1ページ目

日本語のみで絞り込む

Initiates the asynchronous execution of the Transact-SQL statement or stored procedure that is described by this SqlCommand.

An asynchronous version of ExecuteReader(), which sends the CommandText to the Connection and builds a SqlDataReader. Exceptions will be reported via the ...

2012/2/24 -A word of caution: an async SQL command is completing as soon as the first result returns to the client, and info messages count as result.

The ExecuteReaderAsync() method executes the query and returns a SqlDataReader. A SqlDataReader is read-only, forward-only cursor that allows you to iterate ...

2025/8/10 -Typically, SqlConnection connects to the SQL Server database and SqlCommand executes SQL queries or stored procedures using that connection.

SqlCommand cmd = new SqlCommand("SELECT * FROM Users", conn)) using (SqlDataReader reader = await cmd.ExecuteReaderAsync()) { while (await reader.ReadAsync ...

This method returns a Task-based asynchronous version of OracleCommand.ExecuteReader() , which fetches the result set as an OracleDataReader object.

2019/6/26 -I am getting an exception on obtaining a connection. It looks as if ExecuteReaderAsync with CommandBehavior.CloseConnection does not close the ...

2025/7/9 -To execute a reader asynchronously, Dapper provides the ExecuteReaderAsync method, an asynchronous version of the ExecuteReader method.

2026/7/9 -ExecuteReaderAsync. This is a built-in C# method which reads the data from the SQL Server Database asynchronously. Screenshot.