From the course: Entity Framework Core Essential Training: 1

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Create the data access layer project

Create the data access layer project - Entity Framework Tutorial

From the course: Entity Framework Core Essential Training: 1

Start my 1-month free trial

Create the data access layer project

- [Instructor] Alright, now that we have covered the theory of the course, let's dive in and create and configure the projects that we'll be using. So the first thing we want to do is create the main project. We are going to add a .NET Core Console Application. We'll go ahead and name it DataAccessLayer. Now, it needs to be a console app because the EF core command light interface tooling requires an application entry point to execute. If we were building an Asp.net core website or service, we could use the ASP.net core project as the entry point, but we are just going to have two projects in here, the data access layer containing all the Entity framework code and a test class to drive the data access layer. So, we have a long explanation, but the dot net core CLI tooling requires an entry point therefore we need to have a console application. Now, if you wanted to use the powershell commands and not the CLI tooling, then you could have made that a class library. We're gonna add in…

Contents