AsyncDatabaseConnectionDropTableIfExistsAsyncT Method (IAsyncDatabaseConnection, CancellationToken) |
Drops the table if exists async.
Namespace: SQLitePCL.pretty.OrmAssembly: SQLitePCL.pretty.Orm (in SQLitePCL.pretty.Orm.dll) Version: 1.0.0.0 (1.0.0)
Syntax public static Task DropTableIfExistsAsync<T>(
this IAsyncDatabaseConnection This,
CancellationToken ct
)
[<ExtensionAttribute>]
static member DropTableIfExistsAsync :
This : IAsyncDatabaseConnection *
ct : CancellationToken -> Task
Parameters
- This
- Type: SQLitePCL.prettyIAsyncDatabaseConnection
The database connection. - ct
- Type: System.ThreadingCancellationToken
The cancellation token.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:SQLitePCL.pretty.Orm.AsyncDatabaseConnection.DropTableIfExistsAsync``1(SQLitePCL.pretty.IAsyncDatabaseConnection,System.Threading.CancellationToken)"]
Return Value
Type:
TaskThe table if exists async.
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