Description
In this lab, you will be learning how to implement Entity Framework Core Code first approach with AutoMapper into your ASP.NET Core applications. By the end of the lab, you'll have the skills to create an application with Entityframeworkcore. Learn how to connect to the database using entity framework core in ASP.NET Core. We also learn to do Data mapping using AutoMapper in ASP.Net Core.
Lab Objective
Upon completion of this lab, you will be able to:
Prerequisites
You should be familiar with:
Lab Requirements
Suppose you have two entities – Department and Employee, where the Department entity has mandatory properties DepartmentId, Name, and navigation property Employees; and the Employee entity has mandatory properties EmployeeId, Name, Address, DepartmentId, and navigation property Department.
Do Complete the following tasks: