zunath
zunath

Reputation: 31

Entity Framework Load/Save Data

I am using SQLite with the Entity Framework in a C# Windows Form application. I have chosen to use an in-memory database. I'm trying to load a database file that exists on disk into memory. I'll also need to save what's in memory to the disk.

This seems like a relatively simple task but I can't find an elegant solution to it without hard-coding table creation and updating the queries whenever I change something (I.E: Not feasible)

If anyone can provide assistance, it would be greatly appreciated.

Upvotes: 2

Views: 493

Answers (1)

Yusubov
Yusubov

Reputation: 5843

Actually, you may easily use SQLite in-memory database with entity framework.

Look at the following threads as an initial guideline:

Upvotes: 1

Related Questions