title: How can I implement DBSet.AddOrUpdate in Entity Framework 4.4?
body: <p>In response to Slauma's answer to my question <a href="https://stackoverflow.com/questions/17963417/can-i-implement-entity-framework-5-tpt-on-windows-xp">about running applications that use EF on Windows XP </a>   I am converting my application back from Entity Framework 5.0 to use Entity Framework 5.0 and target framework .NET 4.0 (Also called Entity Framework 4.4)</p>
  
  <p>However I encounter the following error;</p>
  
  <pre><code>System.Data.Entity.DbSet&lt;MyEntity&gt; does not contain a definition for AddOrUpdate 
  and no extension method of a type System.Data.Entity.DbSet&lt;MyEntity&gt; accepting a 
  first argument of type System.Data.Entity.DbSet&lt;MyEntity&gt; could be found.
  (Are you missing a using directive or assembly reference )
  </code></pre>
  
  <p>I have tried searching on fragments of this error message, but am not having much success.
  Strangely 4.4 isn't even mentioned <a href="http://msdn.microsoft.com/en-US/data/jj574253" rel="nofollow noreferrer">in this Microsoft link</a>  There isn't even an SO tag for EF4.4 </p>