Tag Archives: Unit test

Unit test Data Access Layer (Entity Framework) with in-memory database

Advertisement from Google Unit testing code that uses data from database is a difficult task. If you use Entity Framework you can stub your data with Effort – in-memory Entity Framework data provider. David Bywaters describes how to use Effort if your create you context based in DbContext class. But if you use model first approach (.edmx already exists)… Read More »