State = EntityState.Modified; context.SaveChanges();. 那么,什么是DbSet.Attach(entity)或者,当EntityState.Modified已经附加了实体时,我为什么要使用.
確定! 回上一頁