'how to open edmx file in design view?

Can someone please suggest that how can I open edmx file in design view. This is evrytime opening in XML view?



Solution 1:[1]

Right-click on the item and select "Open With..." - that should offer you the designer. You can also set the default from that dialog too.

I assume you're using a version of Visual Studio which supports the EDMX designer...

Solution 2:[2]

If it doesn't open it automatically, you probably don't have the SQL Server Data Tools installed.

You need to modify your Visual Studio 2012 install and select SQL Server Data Tools from the optional features list, which includes the EF Designer.

Or, here's a link to get it directly.

Solution 3:[3]

What is the source of your EDMX file?

If your file is from the $metadata endpoint of an OData service, then you can't open it in Visual Studio's EDM Designer. The OData metadata format is indeed EDMX but it is not compatible with Entity Framework's EDMX format.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Jon Skeet
Solution 2
Solution 3 Jpsy