ef指定字段更新

例子如下:

DataAccess.InspectStandardDB.DBContext.Ji_InspectionContent.UpdateCustom()
.Set(p => p.InspectionContent, mode.InspectionContent)
.Set(p =>p.Number,mode.Number)
.Set(p=>p.Score,mode.Score).Execute();

原文地址:https://www.cnblogs.com/redfull/p/7009723.html