Create participating object subset

Posts   
 
    
Maz
User
Posts: 2
Joined: 11-Jun-2012
# Posted on: 11-Jun-2012 09:30:12   

In LLBLGen Pro 3.5, what happened to "Create participating object subset"? I need to do some custom code generation for subset of entities

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 11-Jun-2012 20:08:43   

What's "Create participating object subset" ?

Maz
User
Posts: 2
Joined: 11-Jun-2012
# Posted on: 12-Jun-2012 13:54:37   

Check this part of LLBLGen documentation

http://www.llblgen.com/documentation/2.6/using%20the%20designer/designer_generatingcode.htm

You can see a button in the First "General Settings" tab called "Create participating object subset"

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39910
Joined: 17-Aug-2003
# Posted on: 12-Jun-2012 14:40:59   

That's a feature that got removed from v3. You can accomplish the same thing by using rules. You can add a task and e.g. specify a where clause (using linq) which entities should be consumed for the task. you can also do this with custom settings (see SDK docs), and set for the group of entities you want to run a task for the setting to a given value, e.g. true, and in the preset, use a rule which dictates that a given task can only run if a setting X has a given value, e.g. true.

Frans Bouma | Lead developer LLBLGen Pro