/// <summary> /// Get All Table Names /// </summary> /// <returns></returns> public List <string> GetTableNames() { var sql = @"SELECT name FROM dbo.sysobjects WHERE xtype = 'U' AND name <> 'sysdiagrams' order by name asc" ; return(databaseWrapper.Call(connection => connection.Query <string>( sql: sql)) .ToList()); }