- 修复 DbFirst mysql/pgsql/sqlserver 获取主键失败的 bug; 0.10.7 发布后的 bug #182

This commit is contained in:
28810
2020-01-10 22:03:47 +08:00
parent 90101e2d22
commit 3fe4c54ee4
7 changed files with 7 additions and 7 deletions

View File

@ -308,7 +308,7 @@ select
from sys.index_columns a
inner join sys.indexes b on b.object_id = a.object_id and b.index_id = a.index_id
left join sys.columns c on c.object_id = a.object_id and c.column_id = a.column_id
where {loc8.ToString().Replace("a.table_name", "a.object_id")} and b.is_primary_key = 0
where {loc8.ToString().Replace("a.table_name", "a.object_id")}
;
use [{olddatabase}];
";