Question About DaoClasses.TypedListDAO

Posts   
 
    
SteveS
User
Posts: 1
Joined: 06-Apr-2005
# Posted on: 11-Apr-2005 16:11:39   

This forum has been very helpful for me. simple_smile

I've been using the DaoClasses.TypedListDAO.GetMultiAsDataTable(...) with success to create 'on the fly' typed lists, but I am curious to know how this function knows which entity to retrieve data from as I don't see that as a parameter?... Is it because of the passed in ResultsetFields parameter or what?

Thanks for your help.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 11-Apr-2005 18:58:50   

Yes the ResultsetFields contain information for the query builder to build the right select statement (together with the relation collection )

Frans Bouma | Lead developer LLBLGen Pro