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 464 | Next

Scott Klein

"Professional LINQ"


298
Chapter 15: Advanced LINQ to SQL Topics
Figure 15-15
Now you are ready to go??”you don??™t have to manually drag and drop tables onto the designer!
External Mapping
External mapping in LINQ to SQL is the act of utilizing an external file that contains the mapping information
between the data model and your object model.
A mapping file is an XML file, but not just any XML file. It must be well formed and validated against
the following schema definition (.xsd):

targetNamespace="http://schemas.microsoft.com/linqtosql/mapping/2007" @@ta
xmlns="http://schemas.microsoft.com/linqtosql/mapping/2007"
elementFormDefault="qualified" >




maxOccurs="unbounded" />








299
Part III: LINQ to SQL






maxOccurs="unbounded" />
maxOccurs="unbounded" />


































maxOccurs="unbounded" />

maxOccurs="unbounded" />





300
Chapter 15: Advanced LINQ to SQL Topics



































Keep the following in mind when applying external mapping:
??‘ External mapping overrides any attribute-based mapping.


Pages:
452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6