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

Session.ExecuteQuery Method

Name Parameters Description
ExecuteQuery(String) sql Executes the specified SQL query and returns a result set.
ExecuteQuery(String, QueryParameterCollection) sql, parameters Executes the specified SQL query and returns a result set.
ExecuteQuery(String, Object[]) sql, parameterValues Executes the specified SQL query and returns a result set.
ExecuteQuery(String, String[], QueryParameterCollection) sql, parameterNames, parameters Executes the specified SQL query and returns a result set.
ExecuteQuery(String, String[], Object[]) sql, parameterNames, parameterValues Executes the specified SQL query and returns a result set.