What is the purpose of a .edmx file?
-
What is the purpose of a .edmx file? It is a XML formatted file in Visual Studio. It has database table information. But how is it used in a Visual Studio C# asp.net web app? Online search engines say that "an .edmx file is an XML file that defines a conceptual model, a storage model, and the mapping between these models. An .edmx file also contains information that is used by the ADO.NET Entity Data Model Designer (Entity Designer) to render a model graphically." But how is it used, and how is it made?
-
What is the purpose of a .edmx file? It is a XML formatted file in Visual Studio. It has database table information. But how is it used in a Visual Studio C# asp.net web app? Online search engines say that "an .edmx file is an XML file that defines a conceptual model, a storage model, and the mapping between these models. An .edmx file also contains information that is used by the ADO.NET Entity Data Model Designer (Entity Designer) to render a model graphically." But how is it used, and how is it made?
You can check this http://msdn.microsoft.com/en-us/library/vstudio/cc982042%28v=vs.100%29.aspx[^] Parsing the Entity Framework EDMX file[^] Hope it will help..:thumbsup:
-
What is the purpose of a .edmx file? It is a XML formatted file in Visual Studio. It has database table information. But how is it used in a Visual Studio C# asp.net web app? Online search engines say that "an .edmx file is an XML file that defines a conceptual model, a storage model, and the mapping between these models. An .edmx file also contains information that is used by the ADO.NET Entity Data Model Designer (Entity Designer) to render a model graphically." But how is it used, and how is it made?
It's a file that is used by the Entity Framework. That is an ORM (Object Relational Mapping) Framework. To access a database without the need to manually write SQL queries and the like. They exist to make the life of a development (hopefully) easier. Those files are generated from the designer integrated in Visual Studio but you can also manually edit them if you like. There will/should also be some autogenerated .Net Code which then provide access to the data model defined in those edmx files.