CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2005

    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?

  2. #2
    Join Date
    Jan 2006
    Fox Lake, IL

    Re: What is the purpose of a .edmx file?

    Search for "ADO.NET Entity Data Model Designer "

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Arjay's Avatar
    Arjay is offline Moderator / MS MVP Power Poster
    Join Date
    Aug 2004

    Re: What is the purpose of a .edmx file?

    It's an Entity Framework file. It gets created when you do a design first EF implementation. You can create one with Add New Item/Data/Ado.Net Data Model. You can choose to create the entity model from scratch or point it to an existing database and have the model automatically created for you.

    Once the model is created you can use it to save and retrieve data to/from the database (and much more).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.