diff --git a/Providers/FreeSql.Provider.Firebird/FirebirdDbFirst.cs b/Providers/FreeSql.Provider.Firebird/FirebirdDbFirst.cs index a995b5093..1b69693b5 100644 --- a/Providers/FreeSql.Provider.Firebird/FirebirdDbFirst.cs +++ b/Providers/FreeSql.Provider.Firebird/FirebirdDbFirst.cs @@ -125,10 +125,11 @@ public List GetTables(string[] database, string tablename, bool ign var sql = @" select +rdb$system_flag, trim(rdb$relation_name) as id, trim(rdb$owner_name) as owner, trim(rdb$relation_name) as name, -trim(rdb$external_description) as comment, +trim(rdb$description) as comment, rdb$relation_type as type from rdb$relations where rdb$system_flag=0" + (tbname == null ? "" : $" and {(ignoreCase ? "upper(trim(rdb$relation_name))" : "trim(rdb$relation_name)")} = {_commonUtils.FormatSql("{0}", tbname.Last())}");