摘要: **自动追踪**EF框架会自动追踪实体的变化(通过比较实体的当前值与原始值)。默认情况下,以下方法会自动触发实体变化的追踪* DbSet.Find* DbSet.Local* DbSet.Remove* DbSet.Add* DbSet.Attach* DbContext.SaveChanges* ... 阅读全文
posted @ 2015-07-24 10:53 senki 阅读(692) 评论(0) 推荐(1)
摘要: 1 using System; 2 using static System.Math;//using static,仅仅引入类中的静态方法 3 namespace _6._0Syntax 4 { 5 class Program 6 { 7 deleg... 阅读全文
posted @ 2015-07-24 09:44 senki 阅读(394) 评论(0) 推荐(0)