Time to create a new project and model and create our first type. We’ll start by setting up the project with the basic model.
Create a new console project. I called mine
ComplexModels, but you can call yours whatever you like. Remember to add the Entity Framework NuGet package by choosing Tools, Library Package Manager, Manage NuGet Packages for Solution.
Add an ADO.NET Entity Framework Model to the project by choosing Add ...