Knight Data Access Layer
Getting The Schema VB.NET
Basic Tasks VB.NET > Database Commands > Getting The Schema VB.NET

The schema of the current database can be retrieved in a standard format.  This works across all databases.

 

'Get the current instance of the helper

Dim db As IDataHelper = DataHelper.SessionFactory()

 

Dim tables As List(Of Table) = db.GetDatabaseTables()