Using Fields Mapped on Related Fields as Parameters

Posts   
 
    
JeffV
User
Posts: 4
Joined: 07-Aug-2006
# Posted on: 15-Nov-2006 00:58:48   

Can you use mapped/related fields as Select/Insert/Update parameters for LLBLGenProDataSource? I can use fields mapped on the database as parameters with no problem, but it seems to ignore fields mapped on relations when I use them.

Thanks, Jeff

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 15-Nov-2006 03:57:46   

Can you be more specific with your problem? Possibly show an example and give us the profile of your environment.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 15-Nov-2006 09:06:29   

That's indeed not supported. The insert/update fields are for the entity in question, so fields in related entities aren't useful there. select fields with fields in related entities requires more logic than what's currently available: it has to add relations and a more sophisticated filter than it does now, so it's currently not supported.

I'm not sure if it's even doable without reflection, I'll add it to the todo list for a future version.

Frans Bouma | Lead developer LLBLGen Pro