EF 更新实体 The instance of entity type 'BabyEvent' cannot be tracked because another instance

加上AsNoTracking。

人不能两次踏入同一条河。

就踏入了。o(╥﹏╥)o

猜你喜欢

转载自www.cnblogs.com/zinan/p/10293598.html