mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
Update db.UpdateNav
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user