Closed tafs7 closed 11 years ago
Hi,
If you are using the connection string name constructor then all you need to do is make sure you set the provider name of the connection string in question to the relevant provider name based on which one you want.
This is described in the "Using the Provider" section in the documentation at: https://github.com/robdmoore/ReliableDbProvider
Note: using code first vs model first etc. makes no difference in the usage of this library.
If you are using Azure Web Sites then note that if you use the config replacement functionality that it will remove your provider name and make it not work!
Let me know how you go...
How do you use this library in a project using EF Code First with DbContext? My context class passes a connection string name into the base DbContext, so I am not sure how I'd wire up the ReliablDbProvider's call to CreateConnection().