Hello.
I'm writting an application with LLBL using the adapter scenario.
My application use a ClassLibrary project called "Services" which has references to the projects generated by LLBL. This "Services" project have some classes with methods that use the adapter class (to create the instances of the adapter I'm using the default Ctor).
Now, I want to test these methods, but I want the data produced by the tests in another database with the same schema of the original database.
To accomplish this, I create another project called "Tests". This project is a Console one and it has references to nunit and to the three others project ("Services" and the two generated by LLBL).
My idea was to use the app.config file of the "Tests" project to specify a different connection string (referencing the "testing purposes database").
However, when I run my tests using Nunit, the data is stored in the original database and not in the "testing purposes database".
Is this right or is a bug of the LLBL?
If is not a bug, is there another way to test the "Services" project using NUnit, LLBL and a "testing purposes database" without changing the code of the "Services" project?