Skip to main content
All docs
V26.1
  • .NET 8.0+

    Session.ExecuteQueryWithMetadataAsync Method

    Name Parameters Description
    ExecuteQueryWithMetadataAsync(String, QueryParameterCollection, CancellationToken) sql, parameters, cancellationToken Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns.
    ExecuteQueryWithMetadataAsync(String, Object[], CancellationToken) sql, parameterValues, cancellationToken Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns.
    ExecuteQueryWithMetadataAsync(String, String[], QueryParameterCollection, CancellationToken) sql, parameterNames, parameters, cancellationToken Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns.
    ExecuteQueryWithMetadataAsync(String, String[], Object[], CancellationToken) sql, parameterNames, parameterValues, cancellationToken Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns.
    ExecuteQueryWithMetadataAsync(String, CancellationToken) sql, cancellationToken Asynchronously executes the specified SQL query and returns its result set along with the types and names of retrieved columns.