Posts

Showing posts with the label Entity Framework

Unit Testing Entity Framework 6 DbContext

The Entity Framework version 6 has good unit testing possibilities and the documentation provided by MSDN provides a good starting point...

Entity Framework Code First to an Existing Database

Image
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 .

Getting Started with Entity Framework Code First

Image
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.