2016-10-20 10:19:46,667 [12] ERROR ClientApp.FormDownload - Error
System.InvalidOperationException: The property 'RowId' is part of the object's key information and cannot be modified.
在 System.Data.Entity.Core.Objects.EntityEntry.VerifyEntityValueIsEditable(StateManagerTypeMetadata typeMetadata, Int32 ordinal, String memberName)
在 System.Data.Entity.Core.Objects.EntityEntry.GetAndValidateChangeMemberInfo(String entityMemberName, Object complexObject, String complexObjectMemberName, StateManagerTypeMetadata& typeMetadata, String& changingMemberName, Object& changingObject)
在 System.Data.Entity.Core.Objects.EntityEntry.EntityMemberChanging(String entityMemberName, Object complexObject, String complexObjectMemberName)
在 System.Data.Entity.Core.Objects.EntityEntry.EntityMemberChanging(String entityMemberName)
在 System.Data.Entity.Core.Objects.ObjectStateEntry.System.Data.Entity.Core.Objects.DataClasses.IEntityChangeTracker.EntityMemberChanging(String entityMemberName)
在 System.Data.Entity.Core.Objects.Internal.SnapshotChangeTrackingStrategy.SetCurrentValue(EntityEntry entry, StateManagerMemberMetadata member, Int32 ordinal, Object target, Object value)
在 System.Data.Entity.Core.Objects.Internal.EntityWrapper`1.SetCurrentValue(EntityEntry entry, StateManagerMemberMetadata member, Int32 ordinal, Object target, Object value)
在 System.Data.Entity.Core.Objects.EntityEntry.SetCurrentEntityValue(StateManagerTypeMetadata metadata, Int32 ordinal, Object userObject, Object newValue)
在 System.Data.Entity.Core.Objects.ObjectStateEntryDbUpdatableDataRecord.SetRecordValue(Int32 ordinal, Object value)
在 System.Data.Entity.Core.Mapping.Update.Internal.PropagatorResult.SetServerGenValue(Object value)
在 System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.BackPropagateServerGen(List`1 generatedValues)
在 System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update()
在 System.Data.Entity.Core.EntityClient.Internal.EntityAdapter.<Update>b__2(UpdateTranslator ut)
在 System.Data.Entity.Core.EntityClient.Internal.EntityAdapter.Update[T](T noChangesResult, Func`2 updateFunction)
在 System.Data.Entity.Core.EntityClient.Internal.EntityAdapter.Update()
在 System.Data.Entity.Core.Objects.ObjectContext.<SaveChangesToStore>b__35()
在 System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransaction[T](Func`1 func, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction, Boolean releaseConnectionOnSuccess)
在 System.Data.Entity.Core.Objects.ObjectContext.SaveChangesToStore(SaveOptions options, IDbExecutionStrategy executionStrategy, Boolean startLocalTransaction)
在 System.Data.Entity.Core.Objects.ObjectContext.<>c__DisplayClass2a.<SaveChangesInternal>b__27()
在 System.Data.Entity.Infrastructure.DefaultExecutionStrategy.Execute[TResult](Func`1 operation)
在 System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction)
在 System.Data.Entity.Core.Objects.ObjectContext.SaveChanges(SaveOptions options)
在 System.Data.Entity.Internal.InternalContext.SaveChanges()
在 System.Data.Entity.Internal.LazyInternalContext.SaveChanges()
在 System.Data.Entity.DbContext.SaveChanges()
在 ClientApp.FormDownload.<>c__DisplayClass9_0.<SensorSelected>b__0() 位置 F:\CodeForGitBlit\YunClient\ClientApp\FormDownload.cs:行号 207

最新文章

  1. 仿饿了点餐界面2个ListView联动
  2. 对“Git”认知。
  3. java项目导入IntelliJ IDEA
  4. props
  5. JS-007-富文本域操作
  6. 人类科技的发展为什么会是加速度的(TRIZ方法再推荐)
  7. VideoTexture 贴图
  8. JavaScript实现省市联动
  9. MssqlOnLinux 备份和日志【3】
  10. php数组根据某一个键值,把相同键值的合并生成一个新的二维数组
  11. BitMap位图与海量数据的理解
  12. spark shuffle
  13. 底部导航栏-----FragmentTabHost
  14. 洛谷 P4714 「数学」约数个数和 解题报告
  15. java基础概念整理(三)
  16. Tomcat 跨域问题的解决
  17. IntelliJ IDEA:Field injection is not recommended
  18. SVM计算过程,对偶形式,核函数
  19. Java-小技巧-004-jdk时间,jdk8时间,joda,calendar,获取当前时间前一周、前一月、前一年的时间
  20. std::vector的内存释放

热门文章

  1. 关于nandflash与norflash
  2. zw版【转发&#183;台湾nvp系列例程】HALCON EquHistoImage(Delphi)
  3. 理解Linux中断 (3)【转】
  4. 【jQuery UI 1.8 The User Interface Library for jQuery】.学习笔记.10.Button 和 Autocomplete控件
  5. 【PHP设计模式 09_ZhuangShiQi.php】装饰器模式 (decorator)
  6. symfony中twig的模板变量与注释
  7. setw和setfill控制输出间隔
  8. Serializable接口使用纪实
  9. 简单LRU算法实现缓存
  10. ThinkPhp之分页