EF 在进行 savechanges的时候总是报错
Models.BlogArticle modelNew = dbEntities.BlogArticles.Where(a => a.AId == model.AId).FirstOrDefault();
//2.设置修改后的值
modelNew.ATitle = model.ATitle;
modelNew.AContent = model.AContent;
modelNew.ACate = model.ACate;
//3.跟新到数据库
dbEntities.SaveChanges();
运行时总是报错 Cannot find the UpdateFunctionMapping for EntityType 'BlogArticle' in the mapping file. 请大家帮忙啊……