Can I create an instance of a collection only knowing the table name

Posts   
 
    
Phuzakie
User
Posts: 13
Joined: 10-Nov-2006
# Posted on: 07-Dec-2006 23:43:01   

I need to know if/how I can create an instance of a collection only knowing the table name that collection is mapped to. I know how to create the instance on the fly, what I need to know is how to loop through the collections I have and match them by the mapped data table name.

Example: I know DAT_VEHICLE is the table I'm working with. I then want to generate an instance of MyVehicleCollection on the fly.

Any help is appreciated.

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 08-Dec-2006 02:45:40   

Take a look at this thread. It may get you started at least.http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=2340&HighLight=1