且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

即使字段已从属性绑定中排除,该字段仍使用NULL值更新

更新时间:2023-11-28 22:08:28

这里的bind属性不会帮您把这行放在savechanges()

Here bind attribute'll not help you out put this line before savechanges()

db.Entry(model).Property(x => x.Password).IsModified = false