D
D
DarkByte20152016-04-25 08:08:12
SQLite
DarkByte2015, 2016-04-25 08:08:12

How to combine Entity Framework and SqLite?

Can you please tell me how to combine them? Only when creating a database from the GUI (via a diagram). I just saw this Entity Framework for the first time, it's easier for me.
PS Delivered SqLite to the project already through Nuget. Created a model, but did not create a database yet. I don’t know what is there and where to choose or write ... There are so many menus, my eyes run wide, if you can bring someone some screenshots or some article with screenshots of actions in order ...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roman, 2016-04-25
@yarosroman

docs.efproject.net/en/latest/providers/sqlite/inde...
Use EF7, Create a model, Add migrations, and the database is created by the application, no need to be smart, plus migrations, automatically change the database when you run an updated version applications.

A
Andrew, 2016-08-02
@impwx

Why choose SQLite? EF quite well supports SQL Server Compact, which is similar in purpose and capabilities.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question