Because of the integration into the
.NET Framework, LINQ to XML can take advantage of functionality the .NET Framework provides,
such as compile-time checking, strong typing, and debugging.
LINQ to XML makes working with XML much easier by providing a simple way to work directly
with methods and properties, by programming against XML tree components such as elements and
attributes, but in an untyped manner. This is where LINQ to XSD comes in. LINQ to XSD lets you
work with typed XML.
Although LINQ to XSD is in its early stages, it??™d be a shame not to include it in this book. It will
probably change somewhat, but the purpose of this appendix is to provide you with an introduction
to LINQ to XSD and show you some of its capabilities. This is a cool technology and makes working
with XML a pleasure.
LINQ to XSD has been scheduled to release after the release of Visual Studio 2008. At the time of this
writing the current release of LINQ to XSD is the LINQ to XSD Preview 0.2 that works with Beta 1
of Orcas. To work with the examples in this appendix, you need to install Beta 1 of Visual Studio
codenamed Orcas.
Pages:
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535