mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Update db.UpdateNav
This commit is contained in:
parent
f42fbfa3ea
commit
b56748a992
@ -35,7 +35,7 @@ namespace SqlSugar
|
||||
}
|
||||
|
||||
}
|
||||
if (!IsDefaultValue(navPropertyValue)&& isManyPk==false)
|
||||
if (!IsDefaultValue(navPropertyValue)&& isManyPk==false&& parentPkColumn.IsIdentity==false)
|
||||
{
|
||||
this._Context.Updateable<DbTableInfo>
|
||||
().AS(parentEntity.DbTableName)
|
||||
|
Loading…
Reference in New Issue
Block a user