I am trying to create DBcontext and corresponding model for a particular table in ASP.NET core MVC application. This table doesn\'t have any primary key.
Support for complex types (those that don't have an entity key) in EF Core is on the backlog: https://github.com/aspnet/EntityFramework/issues/246. That's why any attempt to reverse engineer a table without a primary key defined won't work at the moment.