コード例 #1
0
 /// <summary>
 /// Executes query and returns <see cref="DbDataReader"/>
 /// for retrieving query results.
 /// </summary>
 /// <remarks> Multiple active operations are not supported. Use <see langword="await"/>
 /// to ensure that all asynchronous operations have completed.</remarks>
 /// <param name="token">The token to cancel current operation if needed.</param>
 /// <returns><see cref="DbDataReader"/> to use.</returns>
 public Task <DbDataReader> ExecuteReaderAsync(CancellationToken token = default) =>
 driver.ExecuteReaderAsync(session, realCommand, token);