Skip to content

Commit 4dff3d0

Browse files
committed
更新模板
1 parent 43c09ee commit 4dff3d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

AntData/AntData.DbModels.linux/Templates/DataModel.ttinclude

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ void LoadServerMetadata(DataConnection dataConnection)
123123
.Where(t => t.table != null));
124124

125125
foreach (var t in tables)
126-
Tables.Add(t.key, t.table);
126+
{
127+
if(!Tables.ContainsKey(t.key))Tables.Add(t.key, t.table);
128+
}
127129

128130
var keys =
129131
(

0 commit comments

Comments
 (0)