DatabaseConnectionExecute Method (IDatabaseConnection, String, Object) |
Compiles and executes a SQL statement with the provided bind parameter values.
Namespace: SQLitePCL.prettyAssembly: SQLitePCL.pretty (in SQLitePCL.pretty.dll) Version: 1.0.0.0 (1.0.0)
Syntax public static void Execute(
this IDatabaseConnection This,
string sql,
params Object[] values
)
[<ExtensionAttribute>]
static member Execute :
This : IDatabaseConnection *
sql : string *
values : Object[] -> unit
Parameters
- This
- Type: SQLitePCL.prettyIDatabaseConnection
The database connection. - sql
- Type: SystemString
The SQL statement to compile and execute. - values
- Type: SystemObject
The bind parameter values.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IDatabaseConnection. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also