EDM (Entity Data Model), 15, 163, 204–207
Element method, 183
element operators, 109–113
ElementAt operator, 112
ElementAtOrDefault operator, 112
Elements method, 183–184
elements, LINQ to XML queries, 183–186
ElementsAfterSelf method (XNode), 186
ElementsBeforeSelf method (XNode), 186
Empty operator, 104
EncodeName method (XmlConvert), 172
EncodeNmToken method (XmlConvert), 172
entities.
See also LINQ to Entities
associations between, 132–139
creating databases from, 157–158
creating from databases, 158
data querying and, 149–150
defined, 163
LINQ to SQL, 124–126
manipulating, 214–216
querying, 207–213
entity classes, 127–129, 153
entity constraints, 132
Entity Data Model (EDM), 15, 163, 204–207
entity inheritance, 129–131
entity relationships
data updates and, 153
join clause, 4
LINQ to Entities, 163
navigating, 6–8
entity updates, 152–154
EntityRef wrapper class, 133–134, 139
EntitySet wrapper class
associations between entities, 139
graph consistency, 138
grouping entities, 163
LINQ to Entities, 164
overview, 134–138
Enumerable class
extension methods, 74
overview, 25
query operators, 73
Select method, 73
Where method, 73
enumeration
C# support, 25–28
foreach statement, 27, 125
generics support, 27
LINQ to Objects, 28
MidpointRounding, 159
MoveNext method, 25, 27
object types, 27
System.Collections namespace, 25
equality operator, 114
EqualityComparer class, 85
Equals method, 92–93, 114
equals sign (=), 57
Except operator, 92–94
Exchange, 17
ExecuteMethodCall method (DataContext), 143
ExecuteQuery method (DataContext), 150
Explicit operator, 171–172
explicit relationships, 6
expression trees
deferred execution method, 126
defined, 125
lambda expressions, 31, 35–36
LINQ to SQL, 116
projections, 141
query expressions and, 73
expressions
object initialization, 57
XML literals, 63–64
Extensible Markup Language. See XML (Extensible Markup Language)
Extensible Stylesheet Language for Transformations (XSLT), 167, 184
Extension attribute, 55
extension methods
C# support, 36–42
data domains, 4, 15
deferred query evaluation, 188–189
defined, 4
Enumerable class, 74
example, 37
extending classes, 4
instance methods over, 40
LINQ to XML support, 168
overloading, 39
resolving, 39, 41
static classes and, 37
type considerations, 38
Visual Basic support, 54–56
XPath and, 187–188
extension methods resolution, 116–117
ExtensionMethods class, 55
Extensions class, 192, 194
external mapping, 158–159