We are using 3 catalogs, indeed 3 different databases which reside on the same server.
In the Project Explorer we've added the requred entities from the several databases.
After generating the DAL, the PersistanceInfoProvider shows which entities belong to which database.
The documentation states that, when accessing an entity the corresponding database would be used. However, the database remains always on the connection string as set in the web.config.
Removing this key results in an error that the connection string has not been found.
I'm using a LLBLGen 3 self-servicing project on a MySQL database with the dotConnect driver from devArt.
The workaround we made is to set the ActualConnectionString to the corresponding database with each webmethod request.
But this results in mutual errors when many users are using the database (the connections of other users are used).
If found the semaphore solution provided in this forum, but that does not work with LLBLGen 3, and I think it is very slow.
I also found we should use the Adapter approach, but this requires several days of rewriting the code.
Why is the PersistanceInfoProvider not working? I remember with LLBLgen 2.5 and MS SQL Server this worked without problems, you even had to override the connectionstrings in de configuration file to use a production database.
I really want this behaviour to work as this is the solution to the non-threadsafe errors.