AsyncDatabaseConnectionExecuteAsync Method (IAsyncDatabaseConnection, String, Object) |
Compiles and executes a SQL statement with the provided bind parameter values.
Namespace: SQLitePCL.prettyAssembly: SQLitePCL.pretty.Async (in SQLitePCL.pretty.Async.dll) Version: 1.0.0.0 (1.0.0)
Syntax public static Task ExecuteAsync(
this IAsyncDatabaseConnection This,
string sql,
params Object[] values
)
[<ExtensionAttribute>]
static member ExecuteAsync :
This : IAsyncDatabaseConnection *
sql : string *
values : Object[] -> Task
Parameters
- This
- Type: SQLitePCL.prettyIAsyncDatabaseConnection
The asynchronous database connection. - sql
- Type: SystemString
The SQL statement to compile and execute. - values
- Type: SystemObject
The bind parameter values.
Return Value
Type:
TaskA task that completes when the statement has been executed.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IAsyncDatabaseConnection. 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