How to generate POCO classes for Entity Framework code-first?

Posts   
 
    
feng.liu
User
Posts: 1
Joined: 18-Oct-2012
# Posted on: 18-Oct-2012 17:01:31   

Hi, I've looked through all the code generation options for Entity Framework but there does not been to be any configuration values for generating POCO classes for Entity Framework code-first. Is there a specific way to generate code-first POCO classes for Entity Framework. POCO classes meaning classes that are not extending from CommonEntityBase.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 18-Oct-2012 20:31:53   

There are some POCO presets for the EF v4 Framework. Please check the Project code-generation window.

Also check this link: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=20323

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39910
Joined: 17-Aug-2003
# Posted on: 19-Oct-2012 09:17:36   

Check DbContext preset, which gives you poco's + a dbcontext using context class

Frans Bouma | Lead developer LLBLGen Pro