How do I use an Entity Framework 4 model without a real database?

Posted by Ivan on Stack Overflow See other posts from Stack Overflow or by Ivan
Published on 2010-05-08T08:30:15Z Indexed on 2010/05/08 8:38 UTC
Read the original article Hit count: 262

Filed under:
|

I don't need any data to be stored. I'd like an application to start, create an Entity Framework entities container based on the model I've designed but having no data records in it, then generate some data (from user input and other input sources), work with it and discard all the data on close, without propagating any data operations made with EF contect to a real database hosted on server or in a file. How do I implement such a pattern?

I use Entity Framework 4 and Visual Studio 2010.

© Stack Overflow or respective owner

Related posts about entity-framework

Related posts about c#