fetching efficiency

Posts   
 
    
MarcoP avatar
MarcoP
User
Posts: 270
Joined: 29-Sep-2004
# Posted on: 30-Apr-2010 18:38:29   

there are parts of my application where i am showing read-only access and i want to fetch the reporting data efficiently as possible using linq. if I project into a custom dto object, say i return IEnumerable<UserSearchDTO>, is that populating an entity collection under the hood?

thanks!

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 01-May-2010 05:03:27   

No, if your projection result is an anonymous type, no entities are involved in the process. Are you experiencing performance issues?

David Elizondo | LLBLGen Support Team