0

I'm really into the new Entity Framework code first features (currently at CTP5 at the moment). One thing which would be ace would be the ability to generate some kind of model diagram from the POCO classes that I build.

Does such a tool exist? Preferably I'm looking for an open source solution if possible.

Cheers. Jas.

Jason Evans
  • 28,906
  • 14
  • 90
  • 154

2 Answers2

3

The MS ADO.NET guys have released a tool that's awesome for diagramming your EF Code-First context. There's more to your EF model than just the POCO classes - for example, the mapping fluent API - and the tool takes it into account.

enter image description here

Without further ado, it's the "EF Power Tools" VS extension (Beta 2 at the time of writing)

Read all about how to install and use it on the related ADO.NET blog post

Be warned, the diagram is read-only, but what would you expect when the input for it is your own code?

Cristian Diaconescu
  • 34,633
  • 32
  • 143
  • 233
3

You can always use built-in class diagram in Visual studio.

Ladislav Mrnka
  • 360,892
  • 59
  • 660
  • 670