dimanche 16 août 2015

EF6 Create DB using SQLite Model First

I have created edmx file containing my db schema using SQLite. When I launch the application, I would like the application to create a new db file. I tried to use Database.CreateIfNotExists(), but it doesn't do anything.

I understand that it is a model first and not a code first. Is it possible to create a new db file for "model first"?

Thanks, Sam

Aucun commentaire:

Enregistrer un commentaire