SQLiteConnectionExecute Method |
Creates a SQLiteCommand given the command text (SQL) with arguments. Place a '?'
in the command text for each of the arguments and then executes that command.
Use this method instead of Query when you don't expect rows back. Such cases include
INSERTs, UPDATEs, and DELETEs.
You can set the Trace or TimeExecution properties of the connection
to profile execution.
Namespace:
SQLite
Assembly:
RebornBuddy (in RebornBuddy.exe) Version: 3.3.1; net-4.5.win32; release
Syntax public int Execute(
string query,
params Object[] args
)
Parameters
- query
- Type: SystemString
The fully escaped SQL.
- args
- Type: SystemObject
Arguments to substitute for the occurences of '?' in the query.
Return Value
Type:
Int32
The number of rows modified in the database as a result of this execution.
See Also