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.…
There are two ways to configure validation rules and schema definition rules for EF core models. First one, is using attributes, which we have already seen in previous article. The…
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,…
In previous post, we have discussed what is migration and what are some basic dotnet CLI commands which can be used for adding / removing migrations. Practically, those commands cannot…
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…