Saturday, August 22, 2009

entity framework model

Entiry FrameWorkModel

.edmx is an xml file that defines an Entity Data Model (EDM) ,Describe the target database schema ,and defines the mapping between the EDMI and the database.An .edmx file also contains information that is used by the ADO.NET entry datamodel Designer to render a model graphically.

How to Add .edmx File in a visual Studio project ?

Right Click on Solution Explorer -> New Item -> Select ADO.NET Entity Data Model .As shown in the figure




Note : In MVC application the .edmx file can be added in the Model .So it act as a Model for MVC

In Entity framework model it is same as LINQ to SQL .But here we can mix and match a number of different database vendors ,application servers or protocols to design an aggregated mash-up of objects which are constructed from a variety of tables,sources services etc.ADO.NET is released with .Net Framework 3.5 service pack 1.

1 comments:

Nicole said...

Thanks for the valuable information, I want to know more about this, I will appreciate you if you will give me more information.........

Nicole

Cash Online Get Easy cash at your door step

 
Counter