Prevent loading of child records

Posts   
 
    
hahaamstar
User
Posts: 1
Joined: 16-Jun-2009
# Posted on: 16-Jun-2009 21:53:11   

Is it possible to not load all FK collections using SelfServing.

For instance, ParentCollection loads all related ChildCollections.

I am binding a grid for data entry (infragistics) that supports showing the hierarchy, which I don't want.

Additionally, I'm concerned with performance as some of the child tables could contain numerous records.

Thanks,

Pendleton

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 17-Jun-2009 05:29:40   

I am binding a grid for data entry (infragistics) that supports showing the hierarchy, which I don't want.

I think it is possible to disable such feature from your infragistics control. If the grid doesn't ask for the child collection, LLBLGen wont lazy-load those collections.

David Elizondo | LLBLGen Support Team