From 905cefedd9730c00a4b81efc8302392cbefa8245 Mon Sep 17 00:00:00 2001 From: 2881099 <2881099@qq.com> Date: Thu, 5 Dec 2024 15:02:56 +0800 Subject: [PATCH] - fix: Firebird rdb$description --- Providers/FreeSql.Provider.Firebird/FirebirdDbFirst.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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())}");