更新记录用途时,我看到很多人: ... ms.Status = status; db.Entry(ms).State = EntityState.Modified; db.SaveChanges(); 这行是必需的吗?没有它,我就可以进行更新 ...
確定! 回上一頁