ASP.NET MVC Core application using EF Core.
In linq to sql this code returns list of database table primary key columns names:
///