I\'ve narrowed this down to some issue between Code First and Database first EF, but I\'m not sure how to fix it. I\'ll try to be as clear as I can, but I honestly am missin
Assumptions:
TableOtherTableOtherTable_IDNow choose one of this ways:
Remove If you have some error related to All Credit of this answer is belongs to @LUKE. The above answer is his comment under @drewid answer. I think his comment is so clean then i rewrote it as an answer. andICollection
OtherTable_ID when you are retrieving Table, go to your OtherTable model and make sure you don't have an ICollection in there. Without a relationship defined, the framework will auto-assume that you must have a FK to OtherTable and create these extra properties in the generated SQL.
B)
OtherTableId to Table
OtherTableId in the Table in database