mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 修复 DbFirst mysql/pgsql/sqlserver 获取主键失败的 bug; 0.10.7 发布后的 bug #182
This commit is contained in:
@ -305,7 +305,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}];
|
||||
";
|
||||
|
Reference in New Issue
Block a user