DbProviderFactories code instead of config

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for SQLite
Post Reply
chopswil
Posts: 3
Joined: Wed 18 Jan 2012 19:24

DbProviderFactories code instead of config

Post by chopswil » Mon 30 Jan 2012 21:49

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

Pinturiccio
Devart Team
Posts: 2420
Joined: Wed 02 Nov 2011 09:44

Post by Pinturiccio » Fri 03 Feb 2012 16:37

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.
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".

Post Reply