In response to Slauma\'s answer to my question about running applications that use EF on Windows XP I am converting my application back from Entity Framework 5.0 to use Entit
...to your code file to have AddOrUpdate available. It is an extension method of IDbSet that is implemented in the IDbSetExtensions class in System.Data.Entity.Migrations namespace.