LINQ with SQLite (linqtosql)

前端 未结 9 1846
轮回少年
轮回少年 2020-11-28 03:30

I have a small project that require a storage (I choose SQLite) and I got good result with the ADO DLL for .Net for Sqlite.

After the Install, I noticed that it conta

相关标签:
9条回答
  • 2020-11-28 03:38

    I've recently discovered DBLinq, which supports SQLite among other DB:

    0 讨论(0)
  • 2020-11-28 03:38

    this is a good linq to sqlite..

    http://www.devart.com/dotconnect/sqlite/

    0 讨论(0)
  • 2020-11-28 03:41

    With EntityFramework 7 the support for SqLite improved and it is possible to use the EntityFramework.Commands to create some migrations. Here is a Tutorial:

    https://xamlbrewer.wordpress.com/2016/06/01/getting-started-with-sqlite-and-entity-framework-on-uwp/

    As a prerequisite at least PowerShell3 should be installed.

    0 讨论(0)
  • 2020-11-28 03:50

    From my own experience, Microsoft SQL Compact Framework is a REAL NO-GO. It is REALLY FREAKING slow and its Query Analyzer is just really poor. I had to ask my team to rewrite all the plumbing code of my Windows Mobile component to get rid of the awful performances of SQL CE.

    0 讨论(0)
  • 2020-11-28 03:54

    There's a package on NuGet called "LINQ to SQLite". I haven't tried it, but it seems fresh.

    https://www.nuget.org/packages/linq2db.SQLite/

    0 讨论(0)
  • 2020-11-28 03:57

    LINQ to SQL only supports SQL Server/Compact however it is possible the SQLite people have written their own LINQ provider given the name of the assembly.

    If that's the case you would be able to use the LINQ query syntax by adding a reference to it but you wouldn't get LINQ to SQL specific features such as the DataContext/designer/SQL Metal/Column attributes/EntitySet/EntityRef etc.

    0 讨论(0)
提交回复
热议问题