How to get usage of EntityType

Posts   
 
    
Agust
User
Posts: 6
Joined: 09-Oct-2008
# Posted on: 06-May-2009 17:06:47   

Hi,

This is a newbie question... I want to use prefetch path similar to: IPrefetchPath2 prefetchPath = new PrefetchPath2((int)EntityType.OrderEntity);

Now, my problem is that my code does not recognize EntityType - what class do I need to include to have that?

I am using LLBLGen Pro 2.6 Final - .NET 3.5

Agust

Agust
User
Posts: 6
Joined: 09-Oct-2008
# Posted on: 06-May-2009 17:09:12   

Sorry to bother you - but I found it :-) - obviously EntityType is under the root class of the generated project.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 07-May-2009 05:53:13   

Good wink

David Elizondo | LLBLGen Support Team