When inserting into a relational database (db), you can have the database
automatically assign a value to the primary key of the row you are inserting.
This is generally called the Identity Column.
Using Entity Framework (ef) or Entity Framework Core (ef core)
[https://github.com/aspnet/EntityFramework] (via an