I am using DbProviderFactories in my data layer (based on Entity Framework) and am using SQLite for my database, but I don\'t have to have a App.Config to have the following
see the following snippet
public DataProviderManager(string ProviderName)
{
var _Provider = DbProviderFactories.GetFactory(ProviderName);
}
you need to pass the ProviderName that in your case is "System.Data.SQLite".
you don't need to create the app config section. That section is created by SQLite in the machine.config after the SQLite.net provider is installed.
the whole purpose of the appconfig section is to help you get the list of configured .net providers when you call the following command:
public GetProvidersList() { DataTable table= DbProviderFactories.GetFactoryClasses(); }