mardi 17 février 2015

use of two providers between two different .dll , Devart sqlite and sqlite provider


No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SQLite'. Make sure the provider is registered in the 'entityFramework' section of the application config file.



Hello everyone , above the error reported . In short : I have a project in WPF , I call A, and another outside project I call B. A contains the dll of B , it is faith to another database with a provider sqlite . project A instead uses the provider Devart sqlite .


My problem is that when A to use the model set out in the dll B , I diche missing the reference to sqlite . but in reality there nell'appconfig of A :



<provider invariantName="Devart.Data.SQLite" type="Devart.Data.SQLite.Entity.SQLiteEntityProviderServices, Devart.Data.SQLite.Entity, Version=5.2.344.6, Culture=neutral, PublicKeyToken=09af7300eec23701" />


My question is simple ... it is possible that not conflict because they use two different providers ?


Aucun commentaire:

Enregistrer un commentaire