Create a complex type
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 ...
Get Fluent Entity Framework now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.