© Derek J. Rouleau 2018
Derek J. RouleauBeginning Entity Framework Core 2.0https://doi.org/10.1007/978-1-4842-3375-7_2

2. Working with Multiple Tables

Derek J. Rouleau1 
East Baldwin, Maine, USA

In Chapter 1 we created our application, set up our database and tables, and did some basic database operations with EF Core. While working with a single table is helpful and a good place to start, you’ll be dealing with two or more tables for most things you do in your programming lives. We are going to cover the same operations that we did in Chapter 1 here, but using multiple tables. This chapter also explains how things are working in a little more detail, since you now have an understanding of the basics.

The first thing we need to be sure of is that ...

Get Beginning Entity Framework Core 2.0: Database Access from .NET 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.