SQLUpdaterExecute Method (IDatabase, SQLHelperFlags, String, Int32) |
Execute the SQL UPDATE statement. Note that embedded functions are always resolved.
Note that prior to v4.5.1 this method did NOT return a value.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public int Execute(
IDatabase db,
SQLHelperFlags options,
string logSource,
int commandTimeout
)
Public Function Execute (
db As IDatabase,
options As SQLHelperFlags,
logSource As String,
commandTimeout As Integer
) As Integer
Parameters
- db
- Type: NetQuarryIDatabase
The database against which to execute the SQL. - options
- Type: NetQuarrySQLHelperFlags
Options specifying how to generate the SQL. - logSource
- Type: SystemString
The source of the operation, to be logged to the devlog. - commandTimeout
- Type: SystemInt32
Override the default timeout.
Return Value
Type:
Int32The number of rows affected (as of v4.5.1).
See Also