SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 254 | Next

Scott Klein

"Professional LINQ"

Once that ContactID is found, the Title, MiddleName, and EmailAddress
fields are updated for that ContactID.
Summary
This chapter introduced you to mixing LINQ data models within a single query. You saw how to query a
SQL database and use the results to create an XML tree. This functionality is provided by the individual
data models and associated APIs.
You also learned how to query contents of an XML document and use that information to insert and
update a SQL Server table. Again, the LINQ APIs make it extremely easy to mix LINQ data models and
use XML to update a database.
The next chapter focuses on a few advanced topics of LINQ to XML.
152
Advanced LINQ to XML
Programming Topics
By now, you should have a fairly solid understanding of how LINQ to XML works, and how
you can use it to program with XML. Still, there are a few topics that are especially pertinent
for advanced developers, and this chapter focuses on those. In particular, this chapter covers
the following:
??‘ Functional construction
??‘ Annotations
??‘ Axis
??‘ Events
??‘ Streaming documents and fragments
LINQ to XML Functional Construction
In the past few chapters, you??™ve seen how easy it is to construct XML with LINQ to XML using a
variety of techniques, such as using the XElement and XAttribute classes.


Pages:
242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6