How cool is that?
LINQ to XSD Example
The easiest way to get a feel for LINQ to XSD and to understand what it can do is to tackle an example.
You??™re going to need Beta 1 as stated earlier, but before you fire up Visual Studio, a little prep work needs
to be done.
In theWrox directory on your local hard drive, create a folder called AppendixC. Next, open your favorite
text editor and enter the following XML. Save the file as Orders.xml. The data that this XML uses comes
from the SalesOrderDetail table in the AdventureWorks database. Obviously it is not all the records
from that table, but only a small subset of orders from a specific customer.
676
346
Appendix C: LINQ to XSD
43659
709
5.70
6
711
20.18
4
712
5.18
2
714
28.
Pages:
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538