State = EntityState.Modified; --- I cannot do this. //Ensure only modified fields are updated. var dbEntityEntry = DbContext.Entry(entity); ...
確定! 回上一頁