This is the case for me. Simply removing
Right click on the edmx file, select Open with, XML editor
Locate the entity in the edmx:StorageModels element
Remove the DefiningQuery entirely
Rename the store:Schema="dbo" to Schema="dbo" (otherwise, the code will generate an error saying the name is invalid)
http://social.msdn.microsoft.com/Forums/en/adodotnetentityframework/thread/220262bd-85d4-4f29-96a8-4a7d1d2c8293