更新时间:2022-02-23 02:30:34
我找到解决方案......
ah i find out the solution...
var user=db.users.Where(m => m.isNew == false).FirstOrDefault(); user.isNew = true;
如何在MVC entityframework linq中将bool值设置为true