i want to fetch only list of IDs from a table

Posts   
 
    
bo2bo2 avatar
bo2bo2
User
Posts: 13
Joined: 03-Apr-2006
# Posted on: 24-Jan-2007 09:25:52   

i need to fetch a list of IDs from a table based on a filter is there a way i can do that without having to fetch all other entities data i need to send that list to a client where he already has this data on his machine

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 24-Jan-2007 11:39:46   

You could use a dynamic list for this, by just fetching that single field into a datatable, or you could use the ResultsetFields used to fetch the dynamic list also to fetch a projection and project it onto the entity class, which gives entity instances with just the ID filled simple_smile .

Frans Bouma | Lead developer LLBLGen Pro