L


lambda expressions

C# support, 31–36

Compile method, 36, 147

extension methods, 42

in query expressions, 61

operations support, 49

Select method, 73

Visual Basic support, 61, 69

Where method, 73

Language Integrated Query. See LINQ (Language Integrated Query)

language integration, 11–12

Last operator, 110

LastNode property (XContainer), 181

LastOrDefault operator, 110, 112

late binding

Option Strict Off and, 53

variants and, 30

XML support, 62, 66–68

left outer join, 88, 113

less than operator, 20

let clause, 75

line continuation, 57, 65

LINQ (Language Integrated Query)

data domains, 14

defined, 1

future direction, 17

language integration, 11–12

overview, 1–4

present state, 17

relational vs. hierarchical/graph model, 4–9

XML manipulation, 9–11

LINQ queries

compiled, 146–148

deferred evaluation, 115–116

From...Where...Select pattern, 60

SQL vs., 97

syntax, 72–75

using over XML, 189–191

LINQ to ADO.NET

namespaces, 16

overview, 15–16, 123

LINQ to DataSet, 15, 123, 159–163

LINQ to Entities

future direction, 17

overview, 15–16, 123, 163–166

LINQ to Exchange, 17

LINQ to Objects

deferred query evaluation, 116

enumerations, 28

overview, 15, 17

query syntax, 72

yield statement, 28

LINQ to OLAP, 17

LINQ to SharePoint, 17

LINQ to SQL

.NET Framework and, 159

ADO.NET Entity Framework, 216

binding metadata, 157–159

change tracking service, 152

data modeling, 126–139

data querying, 139–151

data update, 151–157

differences in type systems, 159

entities in, 124–126

expression trees, 36, 116

extension methods, 125

future direction, 17

identity management service, 151

overview, 15, 123–124

LINQ to XML

manipulating XML, 180–182

navigating XML, 180–182

overview, 16, 168–169

support for, 167

Visual Basic support, 62

LINQ to XML API

overview, 169–170

X* classes, 180

XAttribute class, 173

XDocument class, 173

XElement class, 170–172

XName class, 175–180

XNamespace class, 175–180

XNode class, 173–175

XObject class, 180

LINQ to XML queries

attributes, 182

elements, 183–186

InDocumentOrder method, 188

overview, 182

XNode selection methods, 186

XPath and extension methods, 187–188

literals. See XML literals

Load method (XElement), 170

LoadWith method (DataShape), 136

local type inference

C# support, 21, 29–31, 49

object initialization and, 57

Visual Basic support, 52–54

Log property (DataContext), 126

long type

Average operator support, 99

Min operator support, 98

Sum operator support, 95

LongCount operator, 95




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