missing some prefetch definition in DAL

Posts   
 
    
Leo Wang
User
Posts: 29
Joined: 29-Jul-2010
# Posted on: 04-Nov-2010 02:22:52   

Issue: does not contain a definition for 'PrefetchPathHolidayType'

Finding: missing some prefetch definition in DAL

[code prefetch.Add( HolidaysEntity.PrefetchPathHolidayType ); code]

Question: We upgrade lgp file from v1.0 to v2.6 and then to v3.0 but after we generated codes from v3.0, we found some prefetch definitions are missing Can you help us on this?

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 04-Nov-2010 06:56:53   
  • Check that the relationships and Navigators exist for that entity in LLBLGen Desinger.
  • Check that the navigators have the expected names as you had before.
  • Check you are using the correct references. Does this happen for all prefetchs? Maybe you can identify the difference between the working prefetchs and the others.
David Elizondo | LLBLGen Support Team
Leo Wang
User
Posts: 29
Joined: 29-Jul-2010
# Posted on: 04-Nov-2010 13:25:30   

Thank you for your suggestions. We will check these items.

It doesn't happen to all prefetchs, we found for one entity some prefetchs are generated while few prefetchs are missing.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39883
Joined: 17-Aug-2003
# Posted on: 04-Nov-2010 14:18:58   

Please post back when you have checked the things David suggested.

Frans Bouma | Lead developer LLBLGen Pro