3 articles in Entity Framework
Unit Testing Entity Framework 6 DbContext
March 31, 2015
The Entity Framework version 6 has good unit testing possibilities and the documentation provided by MSDN provides a good starting point... Testing with a mocking framework Testing with your own test doubles The main thing to remember is that you need to create a TestDbSet for each context…
Entity Framework Code First to an Existing Database
February 28, 2015
Recently I had a need to create an entity model from an existing database so started adding an edmx as I had done so many times before in this scenario. Then I remembered reading on the Entity Framework documentation website that its actually possible to reverse engineer a code first model . I…
Getting Started with Entity Framework Code First
February 21, 2015
The documentation for the Entity Framework provides thorough introduction, in this post I start with the basic tutorial for code first with a view to setting up an application I can use to practice some technologies and techniques on in the future. Normally I would split the applications domain…