When two different entity types (Payment and PaymentEntity) have the same primary key and database schema, EF Core gets confused about which one to track.