目录
1 ObjectQuery<T>数据加载方式 1
1.1 访问方式 1
1.2 Context.CreateQuery<T>() 1
1.3 ObjectQuery<DbDataRecord> 2
1.4 ObjectQuery<简单类型> 3
2 Execute方法与ObjectResult 3
2.1 Execute方法 3
2.2 ObjectResult<T> 结果集 4
3 类型转换 4
3.1 OfType(TResultType) 4
4 Linq方法 5
4.1 All 5
4.2 Any 5
4.3 Take 5
4.4 Skip 5
4.5 First 6
4.6 FirstOrDefault 6
4.7 Where 6
4.8 Distinct 6
4.9 OrderBy,OrderByDescending 7
4.10 ThenBy,ThenByDescending 7
4.11 Average,Sum 7
4.12 Max,Min 7
4.13 Count,LongCount 8
4.14 Concat 8
4.15 Union 8
4.16 UnionAll 9
4.17 Except 10
4.18 Intersect 11
4.19 Select 11
4.20 GroupBy 11
4.21 Join 13
4.22 GroupJoin 14
5 无效的Linq方法 15
5.1 Aggregate 15
5.2 TakeWhile 15
5.3 SkipWhile 15
5.4 Reverse 16
5.5 Last,LastOrDefault 16
5.6 Single,SingleOrDefault 16
5.7 Contains 17
5.8 Distinct 17
5.9 ElementAt,ElementAtOrDefault 17
5.10 DefaultIfEmpty 17
5.11 SelectMany 18
5.12 SequenceEqual 19