摘要: 使用DbSet的Local属性可以访问当前context中被追踪且没有被标记为删除的实体(内存中的数据) 1 using (var context = new BloggingContext()) 2 { 3 // Load all blogs from the database int... 阅读全文
posted @ 2015-07-22 21:38 senki 阅读(699) 评论(0) 推荐(0)