PrefetchPathCollection VERSUS PrefetchPathACollectionViaBcollection

Posts   
 
    
zee
User
Posts: 35
Joined: 24-Jul-2008
# Posted on: 01-Aug-2008 01:39:45   

Hello there., i am trying to figure out the difference between using (1) path.Add(PackageEntity.PrefetchPathPackageMedia).SubPath.Add(PackageMediaEntity.PrefetchPathMedia) and (2) path.Add(PackageEntity.PrefetchPathPackageMedia) path.Add(PackageMediaEntity.PackageEntity.PrefetchPathMediaCollectionViaPackageMedia ) for now,. the only difference is that the first one works simple_smile .... i had actually started of with (2) and then searched the form and saw a suggestion for (1) and thats working...

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 01-Aug-2008 05:22:04   

Yep. (2) wont work because path or subpath should always add a path starting from the head (of the three) node. Please see these prefetchPath's tips: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=9264&StartAtMessage=0&#51656

David Elizondo | LLBLGen Support Team