摘要:
Entity framework中 include 扩展:var xList = repository.GetQuery().Include(s => s.TaskGroups.Select(sd => sd.TaskLists)).ToList();如果用实体框架自带的扩展, 请注意添加命名空间System.Data.Entity的引用。[SuppressMessage("Microsoft.Design", "CA1011:ConsiderPassingBaseTypesAsParameters")]public static IQuer 阅读全文