How do you make Entity framework 6 + Sqlite + code first work?

前端 未结 2 672
清歌不尽
清歌不尽 2021-02-07 20:53

I am trying to create a simple project to explore how Entity framework 6 code first with sqlite db provider works, but when I complite my app I get the error:

2条回答
  •  攒了一身酷
    2021-02-07 21:48

    There is a good article for this issue: http://hintdesk.com/sqlite-with-entity-framework-code-first-and-migration/

    After reading it my consolusion is: "No, please do not use sqlite if you want EF + code first". Use SQL CE instead even though it's deprecating.

提交回复
热议问题