samedi 16 avril 2016

EF7 and SQLite big troubles, Can use SQLCE With Mobile?

Well this is the final love story, I was developing an UWP app firstly for phones. I was using EF7 with SQLite and everything works pretty well.

But what a surprise migrations doesn't work at all, a simple task as Add a column throws 'System.NotSupportedException'. Of course there is a lot of solutions as create another table.. then move data... then rename.... then delete and so on... almost 8 steps just for add a column.

Well think it is a huge of work with sqlite.

Now My question is : Can I use SQLCe4 with EF7 - core in phones?

I was reading about it, but all GITHUB docs talks about Traditional desktop's aplications

Aucun commentaire:

Enregistrer un commentaire