Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The first step you take to introduce Entity Framework in an application is to generate the Entity Data Model (EDM). The EDM is the heart of the Entity Framework. It’s where the mapping information between the classes and database is stored. The EDM is made up of three XML files. The first one describes the object model classes, the second one describes the tables in the database, and the last one stores their mapping. Let’s see now how to handle these files.
Manually creating and maintaining EDM files is a time consuming operation. That’s why the Entity Framework team has created a wizard and a designer inside Visual Studio that you can use to handle these files visually without worrying about their structure.