EntitySubClasses not being generated

Posts   
 
    
alexdresko
User
Posts: 336
Joined: 08-Jun-2004
# Posted on: 31-Mar-2005 05:49:48   

I don't think I need to upgrade, but I'll check. I'm also a little weary of starting this project with the current beta.. I'm sure I've got the right configuration selected too. I've tried a couple of times, but I'll let you know if I get it working before you have a chance to reply.

alexdresko
User
Posts: 336
Joined: 08-Jun-2004
# Posted on: 31-Mar-2005 06:25:44   

Maybe this is helpful.

Entity subclasses generation group::Executing task group. EntitiesDirectoryCreator::Executing task. EntitiesDirectoryCreator::Using class 'SD.LLBLGen.Pro.TaskPerformers.DirectoryCreator' in assembly 'SD.LLBLGen.Pro.TaskPerformers.dll'. DirectoryCreator::D irectory 'C:\Projects\DotNetNuke 2.1.2\TPO.v1.0\BL\DatabaseGeneric\EntitySubClasses' created. EntitiesDirectoryCreator::Execution task done. EntityClassGenerator::Executing task. EntityClassGenerator::Using class 'SD.LLBLGen.Pro.TaskPerformers.CodeEmitter' in assembly 'SD.LLBLGen.Pro.TaskPerformers.dll'. CodeEmitter::Could not find template 'SD_DerivedEntityAdapterTemplate'. It is not defined in the template set config file. EntityClassGenerator::Execution task done. Entity subclasses generation group::Execution task group done. Factory classes generation group::Executing task group.

alexdresko
User
Posts: 336
Joined: 08-Jun-2004
# Posted on: 31-Mar-2005 06:44:56   

Feel free to delete this thread.. I'll give you a quarter the bandwidth I wasted. simple_smile

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 31-Mar-2005 10:15:02   

I think I'll keep it for other users to avoid this mistake (which is common). -> When you want to use the derived entity config for adapter, be sure to also select the accompanying template set! simple_smile

Frans Bouma | Lead developer LLBLGen Pro
alexdresko
User
Posts: 336
Joined: 08-Jun-2004
# Posted on: 31-Mar-2005 16:06:17   

Otis wrote:

I think I'll keep it for other users to avoid this mistake (which is common). -> When you want to use the derived entity config for adapter, be sure to also select the accompanying template set! simple_smile

Yes, I learned that after reading another post on the forums. Shortly after that I realized that I didn't have the custom template set installed for some reason. Re-downloaded/installed and everything worked fine.

See, I'm doing my best to break out of my non-OO ways, and that task performer should give me a head start. I had also looked at the Manager task performer, but I don't think it will work hand in hand with the derived classes TP. I'll probably spend part of my day searching these forums to see how everyone else uses LLBLGen in their business layers. I just want everything to be real clean and I don't want to have to redo the whole thing later down the road.

Expect a quesrtion or two. simple_smile