Click or drag to resize
DatabaseConnectionDropTableIfExistsT Method
Drops the table if it exists. Otherwise this is a no-op.

Namespace: SQLitePCL.pretty.Orm
Assembly: SQLitePCL.pretty.Orm (in SQLitePCL.pretty.Orm.dll) Version: 1.0.0.0 (1.0.0)
Syntax
public static void DropTableIfExists<T>(
	this IDatabaseConnection This
)

Parameters

This
Type: SQLitePCL.prettyIDatabaseConnection
The database connection.

Type Parameters

T
The mapped type.

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