use LLBLGEN connect to multiple and identical db

Posts   
 
    
dc
User
Posts: 1
Joined: 08-Apr-2011
# Posted on: 08-Apr-2011 20:43:49   

Hi,

I wonder if there is a way to connect to multiple (but identical) database in the multi-thread app. Each thread will decide which db to hit. Due to the connection string is a static filed, is there a way to work around this? Thanks.

We are using 3.0, .NET4 and self-serving model

dc

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 08-Apr-2011 22:01:07   

You can. But certainly SelfServicing is not a good choice for that. If you want to do such thing you must use Adapter which is designed to accomplish these scenarios.

David Elizondo | LLBLGen Support Team