This post is part 4 of 4 covering Entity Framework Code-First for Beginners. Part 1 – Setting Up Entity Framework Code-First for Beginners Part 2 – Migrations in Entity Framework Code-First Part 3 – DbContext Part 4 – Entity Framework Code-First Extras To this point, we have covered the basics of Entity Framework. In this post, I will go over …
Entity Framework for Beginners Part 3 – DbContext
This post is part 3 of 4 covering Entity Framework Code-First for Beginners. Part 1 – Setting Up Entity Framework Code-First for Beginners Part 2 – Migrations in Entity Framework Code-First Part 3 – DbContext Part 4 – Entity Framework Code-First Extras The DbContext is Entity Framework’s keystone. It is where all the action takes place. In this post, I …
Entity Framework for Beginners Part 2 – Migrations
This post is part 2 of 4 covering Entity Framework Code-First for Beginners. Part 1 – Setting Up Entity Framework Code-First for Beginners Part 2 – Migrations in Entity Framework Code-First Part 3 – DbContext Part 4 – Entity Framework Code-First Extras In this post, I will take a close look at Entity Framework migrations. Migrations are a way to …
Entity Framework Code First for Beginners Part 1 – Setup
This post is part 1 of 4 covering Entity Framework Code-First for Beginners. Part 1 – Setting Up Entity Framework Code-First for Beginners Part 2 – Migrations in Entity Framework Code-First Part 3 – DbContext Part 4 – Entity Framework Code-First Extras Entity Framework code-first doesn’t always get the love that database-first does for beginners but in this post, I …
Creating an Entity Framework Interceptor to Log All Queries
Debugging queries generated by Entity Framework can be a huge hassle. In the past, the easiest way to was to either use an Entity Framework profiler and most of them are not free or use a profiler in the database engine to capture them. However, Entity Framework has the concept of an Interceptor that can be used to perform some …