Add Enum missing

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
Posts: 27
Joined: Thu 09 Jun 2011 22:32

Add Enum missing

Post by johnwest80 » Wed 25 Jan 2012 17:31

I feel like an idiot, but I can't figure out how to add an enum. I read the documentation, and it states:

"In the Model Explorer window, right-click the Enum Types node and select the Add Enum Type command from the drop-down menu or, alternatively, click the Add Enum Type button on the toolbar of the Model Explorer window."

However, I don't have an Enum Types node or a button in the toolbar. I have the latest version of EF from 1/12/12, so that's not the problem.

Can anyone tell me why I don't see the option to add an enum?

While I'm asking, is there a way to point to an existing enum elsewhere in my code, rather than creating a new one. This one might become obvious once I figure out the first question, but I'd like to know for sure it's possible.


Devart Team
Posts: 7973
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Thu 26 Jan 2012 12:52

johnwest80 wrote:Can anyone tell me why I don't see the option to add an enum?
You should install Entity Framework June 2011 CTP on your workstation and set the "Entity Framework version" option to "Entity Framework 4.2" (right click on the diagram surface > Model Settings > Model > General).

There is no official support of enums in Entity Framework yet. Only particular support is available in Entity Framework June 2011 CTP. Enums will be fully supported in Entity Framework 5.0 (with .NET Framework 4.5).

Post Reply