Knight Data Access Layer
Getting The Schema
Basic Tasks C# > Database Commands > Getting The Schema

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

IDataHelper db = DataHelper.SessionFactory();

 

List<Table> tables = db.GetDatabaseTables();