saeed
saeed

Reputation: 71

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?

Upvotes: 7

Views: 16069

Answers (3)

Jpsy
Jpsy

Reputation: 20882

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.

Upvotes: 0

CloneXpert
CloneXpert

Reputation: 246

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.

Upvotes: 2

Jon Skeet
Jon Skeet

Reputation: 1502216

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...

Upvotes: 11

Related Questions