From the course: Learning Entity Framework Core

Unlock the full course today

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

Entity Framework on Mac, part 2

Entity Framework on Mac, part 2 - Entity Framework Tutorial

From the course: Learning Entity Framework Core

Start my 1-month free trial

Entity Framework on Mac, part 2

- [Instructor] Okay, we re ready to continue building our application. So, right now you see that I have a prompt that says, "Required asset to build." If you get that prompt, it's okay to just click Yes. And now we're ready to go ahead ad start with our steps. The first of which we want to to do is to go up to Macefconsoleapp and right click and create an Entities folder. So let's go ahead and hover over that. You actually don't even need to right click, just hovering will do, and select New Folder, and we'll type in Entities. And within entities, we're going to create our Actor class. Now I can go ahead and right click, select New File, type in Actor.cs. And from here, I will just paste in the content of our Actor class from before, our previous project. Let me go ahead to File. I have Auto Save checked, that's good. Now I don't have to keep hitting Save every single time. My next step now is to create an Actor DB context class. So let's go ahead and do New File, Actor…

Contents