Can an In Memory Database be created in Entity Framework without a backing store?
It is possible to use EF with only an in memory DB that is not persisted in anyway kinda like what DataSet does. The information in the DB would only be required while the app is running and would not need to be retained. I have searched and studied but can’t 开发者_如何学Cfind the answer.
You can use SQLite(http://www.sqlite.org/inmemorydb.html) in-memory database with entity framework. See these threads. http://sqlite.phxsoftware.com/forums/t/2604.aspx , Integration Testing Entity Framework code first with in-memory database
精彩评论