EF 判断是否有数据修改

dbContext.Entry(entity).State == EntityState.Unchanged
原文地址:https://www.cnblogs.com/varorbc/p/8252225.html