.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.ExecuteQueryWithMetadata Method

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