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

Scott Klein

"Professional LINQ"

Giving them the same name will result in compile errors.
Click Finish. The Entity Data Model Wizard begins creating the entity data model for the objects that
you selected. A mapping is created, and the mapping files and class definitions are generated. When the
mapping generation is complete, the entity classes display in the designer (see Figure B-6). This view
shows the entities that were created, the relationships between the entities that were created, and other
pertinent information such as relationship names and navigation properties.
Figure B-6
You can see what files were created by going to the Solution Explorer and looking at the contents of the
solution. Figure B-7 shows the files that were generated and added to the project.
In Solution Explorer, expand the ProductSales.edmx node. Underneath that node you??™ll see two files: a
.cs file and a .diagram file. The .cs file contains the partial classes that contain the information that the
programmer will interact with on the conceptual model level.
Open the .cs file and scroll down a tad (see Figure B-8).


Pages:
497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521
hotel jelenia góra Russian bride Free English grammar and study guid powiekszenia wielkoformatowe counter strike 1.6