In a LocalDB (SQLServer), I created 2 tables, City and Customer, with FKs from Customer to City. I populated them, and you can get the backup of those here.
From there, I wanted to scaffold out the POCOs, something like this:
That was achieved by this set of PowerShell commands, and some massaging of the content of the project.json (mostly to add SQLServer Tools to the default Web option, which by default right now references SqlLite):
cd C:\sandbox\dotnet dotnet new -t Web dotnet restore dotnet ef where.exe dotnet dotnet --info dotnet ef dbcontext scaffold "Server=(localdb)\MSSQLLocalDB;Database=MyDB;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -o \temp