DatabaseConnectionPrepareAll Method |
Compiles one or more SQL statements.
Namespace: SQLitePCL.prettyAssembly: SQLitePCL.pretty (in SQLitePCL.pretty.dll) Version: 1.0.0.0 (1.0.0)
Syntax public static IEnumerable<IStatement> PrepareAll(
this IDatabaseConnection This,
string sql
)
[<ExtensionAttribute>]
static member PrepareAll :
This : IDatabaseConnection *
sql : string -> IEnumerable<IStatement>
Parameters
- This
- Type: SQLitePCL.prettyIDatabaseConnection
The database connection - sql
- Type: SystemString
One or more semicolon delimited SQL statements.
Return Value
Type:
IEnumerableIStatementA lazily evaluated
IEnumerableT.
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