Auto-increment allows a unique number to be generated automatically when a new record is inserted into a table.
in this video you will learn how to Add Auto increment field in existing table Entity framework core | Code First
#entityframeworkcore #aspnetcore
...
https://www.youtube.com/watch?v=mydm-jIWwTY