EF 4.3 migration renaming column instead of deleting it EF 4.3 migration renaming column instead of deleting it sql sql

EF 4.3 migration renaming column instead of deleting it


It is because you probably still have the existing one-to-many relationship - you've just removed navigation property on one side of the relation but the other side still exists. Because of that EF must keep FK column in your table. EF just renames the hidden FK column to default naming convention.