I am switching my existing project from EDMX to CodeFirst, and I am stuck with what seems to me very simple, but I cant seem to find a solution.

I have an entity (Settings) with a property called 'Group' which is NOT a Foreign Key, and I have not set it up as so.

I also have another entity (ItemsGroups) which id is IdGroup, and those 2 entities should not be connected via Foreign Key.

Then, when I query 'Settings' I get [ItemGroup\_IdGroup] column generated.

How Can I tell EF not to generate this column?

Regards,