System.Data.SQLite
View Ticket
Not logged in
Ticket UUID: e791c38ba776466000613edf59ff2515f28084eb
Title: SQLite depend on Entity Framework
Status: Closed Type: Packaging
Severity: Important Priority: Medium
Subsystem: NuGetPackage Resolution: Works_As_Designed
Last Modified: 2014-02-16 21:23:57
Version Found In: 1.0.90.1 from NuGet
User Comments:
anonymous added on 2014-02-15 11:10:33:
Hello.
New version of SQLite requires Entity Framework, but I use NHibernate and don't want to add extra dependencies in my project. Is there an assembly w/o EntityFramework dependency or whether there will be in the future?
Sorry for my bad English, thank you.

mistachkin added on 2014-02-15 19:47:28:
The "System.Data.SQLite.Linq" assembly does not require the Entity Framework.
Only the new "System.Data.SQLite.EF6" assembly does.  You can manually remove
the reference to the "System.Data.SQLite.EF6" assembly and the Entity Framework
from your project.

anonymous added on 2014-02-16 16:50:08:
Hello,

I too regret that the SQLite package is now dependent upon Entity Framework. Even though you can remove it manually, any future update will re-add both the EF package (which I really don't need) and the EF references.

IMHO, I think that EF support should be a separate package, and keep the normal SQLite NuGet package without dependencies.

anonymous added on 2014-02-16 17:06:01:
(I'm the same anonymous user as the previous comment - but I'm not the OP).

I need to mention that adding the EF package resulted in the modification of many app.config files to add support for EF6, which I had to revert.

Moreover, package restore has to be disabled, otherwise EF will come back every time a build is triggered. I'm reverting to a previous package, this is too much of an hassle.

mistachkin added on 2014-02-16 19:59:53:
Thanks for the feedback.

Please use the brand new "System.Data.SQLite.Core" NuGet package if you do
not need LINQ/EF6 support.

anonymous added on 2014-02-16 20:36:16:
Thanks for the quick resolve!

anonymous added on 2014-02-16 21:23:57:
Hello, I'm the OP.
Thank you for the quick resolve!