Query : String | Query to be executed in string format. Default: INSERT INTO MyTable (id, first_name, last_name) VALUES (:id, :first_name, :last_name) Example: "INSERT INTO MyTable (id, first_name, last_name) VALUES (:id, :first_name, :last_name)" |
Parameters : QueryParameter[] | Parameters for the database query. Default: - Example: [
{ Name = "id", Value = 1, DataType = QueryParameterType.Int32 },
{ Name = "first_name", Value = "John", DataType = QueryParameterType.Varchar2 },
{ Name = "last_name", Value = "Doe", DataType = QueryParameterType.Varchar2 }
] |
ExecuteType : ExecuteTypes | Specifies how a command string is interpreted.
Auto: ExecuteReader for SELECT-query and NonQuery for UPDATE, INSERT, or DELETE statements.
ExecuteReader: Use this operation to execute any arbitrary SQL statements in Oracle if you want the result set to be returned.
NonQuery: Use this operation to execute any arbitrary SQL statements in Oracle if you do not want any result set to be returned. You can use this operation to create database objects or change data in a database by executing UPDATE, INSERT, or DELETE statements. The return value of this operation is of Int32 data type, and For the UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the SQL statement. For all other types of statements, the return value is -1.
Scalar: Use this operation to execute any arbitrary SQL statements in Oracle to return a single value. This operation returns the value only in the first column of the first row in the result set returned by the SQL statement.
Possible values:
-
Auto :
Specifies how a command string is interpreted.
Auto: ExecuteReader for SELECT-query and NonQuery for UPDATE, INSERT, or DELETE statements.
ExecuteReader: Use this operation to execute any arbitrary SQL statements in Oracle if you want the result set to be returned.
NonQuery: Use this operation to execute any arbitrary SQL statements in Oracle if you do not want any result set to be returned. You can use this operation to create database objects or change data in a database by executing UPDATE, INSERT, or DELETE statements. The return value of this operation is of Int32 data type, and For the UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the SQL statement. For all other types of statements, the return value is -1.
Scalar: Use this operation to execute any arbitrary SQL statements in Oracle to return a single value. This operation returns the value only in the first column of the first row in the result set returned by the SQL statement.
-
NonQuery :
Specifies how a command string is interpreted.
Auto: ExecuteReader for SELECT-query and NonQuery for UPDATE, INSERT, or DELETE statements.
ExecuteReader: Use this operation to execute any arbitrary SQL statements in Oracle if you want the result set to be returned.
NonQuery: Use this operation to execute any arbitrary SQL statements in Oracle if you do not want any result set to be returned. You can use this operation to create database objects or change data in a database by executing UPDATE, INSERT, or DELETE statements. The return value of this operation is of Int32 data type, and For the UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the SQL statement. For all other types of statements, the return value is -1.
Scalar: Use this operation to execute any arbitrary SQL statements in Oracle to return a single value. This operation returns the value only in the first column of the first row in the result set returned by the SQL statement.
-
Scalar :
Specifies how a command string is interpreted.
Auto: ExecuteReader for SELECT-query and NonQuery for UPDATE, INSERT, or DELETE statements.
ExecuteReader: Use this operation to execute any arbitrary SQL statements in Oracle if you want the result set to be returned.
NonQuery: Use this operation to execute any arbitrary SQL statements in Oracle if you do not want any result set to be returned. You can use this operation to create database objects or change data in a database by executing UPDATE, INSERT, or DELETE statements. The return value of this operation is of Int32 data type, and For the UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the SQL statement. For all other types of statements, the return value is -1.
Scalar: Use this operation to execute any arbitrary SQL statements in Oracle to return a single value. This operation returns the value only in the first column of the first row in the result set returned by the SQL statement.
-
ExecuteReader :
Specifies how a command string is interpreted.
Auto: ExecuteReader for SELECT-query and NonQuery for UPDATE, INSERT, or DELETE statements.
ExecuteReader: Use this operation to execute any arbitrary SQL statements in Oracle if you want the result set to be returned.
NonQuery: Use this operation to execute any arbitrary SQL statements in Oracle if you do not want any result set to be returned. You can use this operation to create database objects or change data in a database by executing UPDATE, INSERT, or DELETE statements. The return value of this operation is of Int32 data type, and For the UPDATE, INSERT, and DELETE statements, the return value is the number of rows affected by the SQL statement. For all other types of statements, the return value is -1.
Scalar: Use this operation to execute any arbitrary SQL statements in Oracle to return a single value. This operation returns the value only in the first column of the first row in the result set returned by the SQL statement.
Default: 0 Example: ExecuteType.ExecuteReader |