I'm trying to query a data model built on EF, but any and all queries I run throw an exception that states
The item with identity 'Id' already exists in the metadata collection.
Googling this yields very little useful information, except that for some databases, like DB2, the data model doesn't allow two tables to have the same PK column name. But, I've removed all the DbSets besides the one I am querying, and it has no relations so no other tables should be involved. What is wrong here?
BTW, the Id property is inherited by the base entity shared by all my entities.