D


data domains

extension methods and, 4, 15

LINQ flavors, 14

relational model support, 5

data modeling.

See also EDM (Entity Data Model)

associations between entities, 132–139

DataContext class, 126–127

entity classes, 127–129

entity constraints, 132

entity inheritance, 129–131

unique object identity, 131

data querying

approaches to, 148–150

compiled queries, 146–148

direct queries, 150–151

entities, 207–213

overview, 139–140

projections, 141–142

read-only access, 151

stored procedures, 143–145

user-defined functions, 145–146

data update

concurrent operations, 155–156

entity updates, 152–154

identity management service, 151

stored procedures, 156–157

transactions, 156

databases

creating entities from, 158

creating from entities, 157–158

DataSet structure as, 159

relational, 4, 14, 159

DataContext class

Add method, 152–153

compiled queries, 147

creating databases from entities, 157–158

data modeling, 126–127

ExecuteMethodCall method, 143

ExecuteQuery method, 150

GetChangeText method, 152

GetQueryText method, 126

identity management service, 151

LINQ to SQL, 125

Log property, 126

ObjectTracking property, 151, 154

PropertyChanging method, 138

read-only access, 151

Refresh method, 131

Remove method, 152–153

stored procedures, 157

Transaction property, 156

DataRow class, 160–162

DataSet structures, 15, 123, 159–163

DataShape class, 136–138

DataTable class, 160–162

decimal type

Aggregate operator support, 102

Average operator support, 99

Converting to string, 36–37, 54

Min operator support, 98

Sum operator support, 95

var keyword example, 30

declarative programming, 12–13

DeepEqual method (XNode), 175

DefaultEmpty operator, 113

DefaultIfEmpty operator, 113

deferred execution method, 126

deferred loading, 134

deferred query evaluation, 115–116, 188–189

delegate declaration, 22

delegate instantiation, 22–23

delegate keyword, 24

delegate signatures, 68

delegates

as closures, 61

C# support, 21–23

deferred query evaluation, 116

defined, 21

generic types, 73

lambda expressions, 35–36

method signatures, 24

query expressions, 61

relaxed, 68–69

DELETE statement (SQL), 152, 156–157

DescendantNodes method (XContainer), 188

DescendantNodesAndSelf method (XElement), 188

descendants axis, 68

Descendants method, 187

DescendantsAndSelf method, 188

direct queries, 150–151

discriminator column, 129

Display method, 42

DisplayTop method, 140–141

Distinct operator, 68, 91–92, 94

DOM (Document Object Model)

LINQ to XML support, 167–168, 170

XElement class, 171

XML data, 1

XML namespaces, 175

double type

Average operator support, 99

Min operator support, 98

Sum operator support, 95

var keyword example, 30

dynamic XML tags, 64




Introducing Microsoft LINQ
Introducing MicrosoftВ® LINQ
ISBN: 0735623910
EAN: 2147483647
Year: 2007
Pages: 78

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net