0

I want to ask you if it is possible to use SQLite with Entity Framework in Windows Phone 8 application? Or Entity Framework cannot be used for local database (SQLite) in Windows Phone application?

1 Answer 1

1

Yes you could use SQLite in your WP application by downloading the extension from VS.

Reference

And also you could use it as a local database too. Could get a better idea from here :

Windows phone 8.1 Local Database

Sign up to request clarification or add additional context in comments.

3 Comments

Yeah but I already have SQLite in my WP application. I just converted my SQL Server database schema to SQLite file and put it as my SQLite local database in my application. But now I have a problem with retrieving data from SQLite. I don't have classes which describe tables etc. How can I retrieve (SELECT) some data without that classes? I would like to use ORM like Entity Framework but I can't do that so I am afraid that EF is not available in WP applications.
Otherwise - can I generate classes (which represent tables) from an existing SQLite database in my WP application?
This might help: codeproject.com/Articles/826602/… Also note that EF 7 will support WP.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.