Knight Data Access Layer
Dropping Tables VB.NET
Basic Tasks VB.NET > Deleting Data > Dropping Tables VB.NET

Dropping a table will remove the table from the database.

 

'Get the current instance of the helper

Dim db As IDataHelper = DataHelper.SessionFactory()

 

db.DropTable("Customers")

 

OR

 

db.DropTable(Of Customer)()