DatabaseConnectionPrepareStatement Method |
Compiles a SQL statement.
Namespace: SQLitePCL.prettyAssembly: SQLitePCL.pretty (in SQLitePCL.pretty.dll) Version: 1.0.0.0 (1.0.0)
Syntax public static IStatement PrepareStatement(
this IDatabaseConnection This,
string sql
)
[<ExtensionAttribute>]
static member PrepareStatement :
This : IDatabaseConnection *
sql : string -> IStatement
Parameters
- This
- Type: SQLitePCL.prettyIDatabaseConnection
The database connection. - sql
- Type: SystemString
The SQL statement to compile.
Return Value
Type:
IStatementThe compiled statement.
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