DataContext Attach()出错
"An attempt has been made to Attach or Add an entity that is not new, perhaps having been loaded from another DataContext. This is not supported."这是什么原因引起的?请高手指教 --------------------编程问答-------------------- 你是不是加载了不同的实体 --------------------编程问答-------------------- 使用Attach 必须确保是个新实体,不能是从其它DataContext中加载过来的实体 --------------------编程问答-------------------- UP- --------------------编程问答-------------------- 异常类型是什么?
补充:.NET技术 , LINQ