我试图在sqlite数据库中返回一个表名列表但不确定如何,我似乎无法找到解决方案。
public List<string> GetTableNames()
{
try
{
using (var connection = new SQLiteConnection(System.IO.Path.Combine(folder, "cmp_mobile_database.db")))
{
return connection.//Somthing Here???
}
}
catch (SQLiteException e)
{
Log.Info("SQLite Exception", e.Message);
return null;
}
}