Blog App – Reading Related Data using .NET EF Core
In previous article, we have seen how to save related entities. The post explains how categories association with post can be saved. Same concept can be applied to saving tags…
In previous article, we have seen how to save related entities. The post explains how categories association with post can be saved. Same concept can be applied to saving tags…
If you have followed my previous article in this series, we already have setup API, Business and Data access layers for a blog application. This blog application uses entity framework…
In previous article, we have written repositories for blog demo. In this article, let's write business layer and API layer. After adding API layer, we would be able to use…
In previous article, we have seen basics about implementing CRUD operations using EF core. Generally repository pattern is used to implement data access layers. In this article, we are going…
In previous article, we have developed a blog management schema using EF core. Now, let's try to create a simple class which performs CRUD operations. Before we begin Generally, when…
In previous articles, we have seen how the entity framework works, how to create models for EF core, how to define relationships, etc. In this article, we will use all…
In previous article, we have seen some basic rules about how entity framework core interprets the navigation properties and how it implicitly defines relationships based on how the properties are…
In previous article, we have seen some basic concepts about entity framework core. We have seen some basic terms and then different ways to define relationships using EF core conventions.…
In previous articles, we have seen how data annotations and fluent APIs can be used to configure EF core models. In this article, let's try to see how the relationships…
In previous article, we have created a class library and created a UniversityContext. This context had only one model, Student. The POCO class used for this model was very simple,…
Entity Framework Core is an ORM (object relational mapper) which can be used to access data from various data sources. Entity Framework was the initial framework which was part of…
AutoMapper is one of the widely used package. Especially when new project is setting up, this is generally used to speed up the development. Let's see how to configure AutoMapper…