Entityframework model diagram not showing

Sometimes when opening your entityframework model you’ll notice that none of the entities show in the diagram.

No amount of deleting or adding them again will work. Then try this.

Right click on the diagram and select ‘Move diagrams to Seperate file’.

In your solution explorer you will see a new file created, with the extension edmx.diagram.

Delete this file. Save the project and reopen your model diagram, the entity objects should now show.

Advertisements

About schuits

IT Developer for over 10 years.

Posted on February 7, 2014, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: