Dynamic Prefetch

Posts   
 
    
_johnnyboy
User
Posts: 12
Joined: 07-May-2009
# Posted on: 26-May-2009 02:29:58   

Hello,

I have table A and table B. There is a relationship between the two but it's not based on a PK or FK so I have to build the relationship dynamically using DynamicRelation. I need to fetch all fields from table A into a TableAEntity object and all fields from table B into an object within TableAEntity - TableBEntity. Seeing as this is all dynamic the object TableBEntity will not exist within the TableAEntity so is there another way to go about this? - Aside from creating a view with all these fields.

Thanks

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 26-May-2009 07:10:59   

As far as I know, that's no possible. The closer approach would be DynamicList.

David Elizondo | LLBLGen Support Team
_johnnyboy
User
Posts: 12
Joined: 07-May-2009
# Posted on: 26-May-2009 07:12:01   

I figured as much but thought I'd check anyway. I'll just create a view.

Thank you.