How to assign an interface to all entities

Discussion of open issues, suggestions and bugs regarding Entity Developer - ORM modeling and code generation tool
Post Reply
jamesklett
Posts: 7
Joined: Tue 08 Jan 2013 17:42

How to assign an interface to all entities

Post by jamesklett » Tue 08 Jan 2013 18:24

NHibernate - Database first, wizard creates classes but I did not see an option to specify that all my entities should have an base class or interface. I have a large model, many tables, and am trying to not have to go to each and every entity in the designer and set the interface.,

Is there are way to do this?

thanks

JAMES

Shalex
Site Admin
Posts: 8248
Joined: Thu 14 Aug 2008 12:44

Re: How to assign an interface to all entities

Post by Shalex » Thu 10 Jan 2013 15:26

Possible alternative ways:
-> select all needed classes in Model Explorer, press F4 and set Entity Base for selected classes simultaneously
-> left click on the diagram surface, press F4 and set the Entity Base property in the Extended Properties section.

Post Reply