Frans,
I was thinking of different ways to introduce an deployment architecture change in my application... I'm looking at ways to increase the performance of my DB and had an idea to replicate the DB out to a farm of readonly database servers.
The idea is to have a single master database for Insert/Update/Delete and transactional Selects. The data is then replicated in real time out to a bunch of other servers which can handle non transactional Selects.
The obvious place to do this is in the Data Access Layer (LLBLGen)
I was thinking that I could maybe make the changes in my extended DataAccessAdapter and hook into the OnFetchEntity, OnFetchEntityCollection events to swap the connection string just prior to retrievals where IsTransactionInProgress = false.
Do you think this would work?
Marcus