I'm wanting to make a common SQLite dll for various applications.
I don't want in all the client apps to have the config version of DbProviderFactories so they don't have to change the version of dotConnect for SQLite every time.
I want to change it in one spot.
Is there a way solely via code to do DbProviderFactories information or a better way through my dll to do this?
thanks
DbProviderFactories code instead of config
-
- Devart Team
- Posts: 2420
- Joined: Wed 02 Nov 2011 09:44
If you want to make change only in one place and you want this change to be applied to all applications, you can register configuration information in the DbProviderFactories section of the machine.config file. You can do it manually or make a "Minimal installation" of dotConnet for SQLite on target machine. All the necessary information will be automatically written in the machine.config file during the "Minimal Installation".chopswil wrote:I don't want in all the client apps to have the config version of DbProviderFactories so they don't have to change the version of dotConnect for SQLite every time.
I want to change it in one spot.