Dynamic use of entity factory/data

Posts   
 
    
Agsy
User
Posts: 5
Joined: 03-Dec-2008
# Posted on: 03-Dec-2008 06:39:06   

Hi,

I am just newbie in using your product so forgive me if I ask this question.......Is it possible in runtime or upon initial load of web page I could setup a dynamic loading of entity factory into a LLBLGENDATASOURCE control? For example:

 The table to use are unknown initially but when a user login my code can determine which table I should use and load it to the LLBLGEN data source control. 

Thanks.

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 03-Dec-2008 10:52:22   

Try to set the following..

For Adapter: The EntityFactoryTypeName property of the LLBLGenProDataSource2 instance.

For SelfServicing: The EntityCollectionTypeName property of the LLBLGenProDataSource instance.