我想将SQLite与Entity Framework一起使用。 我安装了SQLite并在app.config文件中做了一些特定的更改。 我可以在数据提供程序列表中看到SQLite选项。
当我选择时,它会询问连接字符串。 在我写连接字符串后得到错误说:
SQLite的.NET框架数据提供程序中发生意外错误
此致,穆罕默德
I want to use SQLite with Entity Framework. I installed the SQLite and did some specific changes in my app.config file. I can see the SQLite option in the data provider list.
When I select, it asks a connection string. After I write the connection string get the error saying :
An unexpected error occured in .NET framework data provider for SQLite
Regards, Mehmet
最满意答案
设置SQLite 1.0.9xx和EF 6.1.xx非常挑剔。 请查看我的答案是否适合您(请务必观看视频): 数据库首先使用system.data.sqlite 1.0.93创建实体框架6.1.1模型
SQLite 1.0.9xx and EF 6.1.xx are very finicky to set up. Please see if my answer here works for you (be sure to watch the video) : Database first create entity framework 6.1.1 model using system.data.sqlite 1.0.93
更多推荐
发布评论