Program.ExecuteSQL_QueryVerbatim Method (DbConnection, string)

Executes a SQL query specifying the database connection and SQL statement (exactly as stated in the RPG code.

Syntax

BegFunc ExecuteSQL_QueryVerbatim Access(*Public) Type(System.Collections.Generic.Dictionary)
   DclSrParm sqlConnection Type(System.Data.Common.DbConnection)
   DclSrParm sqlText Type(*String)      

Parameters

sqlConnection
System.Data.Common.DbConnection. The database connection.
sqlText
String. The SQL statement.

Returns

System.Collections.Generic.Dictionary (string and object) representing the query results allowing values for a particular column to be accessed by name.

Requirements

Namespace: ASNA.Monarch
Assembly: ASNA.VisualRPG.Runtime.DLL
Platforms: Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows 7, Windows 8 Pro, Windows 10 Pro