<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Synchronizing Entities</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Synchronizing Entities</description>
  <pubDate>Fri, 17 Apr 2026 00:56:51 -700</pubDate>
  <lastBuildDate>Tue, 21 Jun 2011 06:14:30 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2779</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Synchronizing Entities :   Hi Robert,Let me try to explain...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2779&amp;PID=11052#11052</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 2779<br /><strong>Posted:</strong> 21-Jun-2011 at 6:14am<br /><br />Hi Robert,<div>&nbsp;</div><div>Let me try to explain a bit better.&nbsp; </div><div>&nbsp;</div><div>On the client, I have an entity called EmailFolder.&nbsp; I take this an pass it up to the Server and do some processing there to get new email.&nbsp; One of the properties is called NumberOfNewEmails.&nbsp; I set this property while on the server.&nbsp; I then pass back the entire entity to the Client so that I know the number of new Emails.&nbsp; Here is where the problem resides.&nbsp; I can't add it back into the EntityManager as the original&nbsp;is already in the EntityManager so my only choice is to find the original and update the NumberOfNewEmails property using the copy.</div><div>&nbsp;</div><div>In any case, don't worry about this too much, I got this working well enough to move along!</div><div>&nbsp;</div><div>Greg</div>]]>
   </description>
   <pubDate>Tue, 21 Jun 2011 06:14:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2779&amp;PID=11052#11052</guid>
  </item> 
  <item>
   <title>Synchronizing Entities : Greg,  This sounds like a very...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2779&amp;PID=11037#11037</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1097" rel="nofollow">robertg</a><br /><strong>Subject:</strong> 2779<br /><strong>Posted:</strong> 20-Jun-2011 at 10:19am<br /><br />Greg,<DIV>&nbsp;</DIV><DIV>This sounds like a very interesting and strange problem. Is your entity in the client detached, or what? I don't understand why it would be a seperate entity from the one on the server. Would it be possible to make that entity a part of your EM in the first place, so you can keep it up to date with whatever changes you've made on the server by using a DataSourceThenCache&nbsp;merge strategy, which will overwrite the client-side version of the data with whatever is retrieved from the server-side?</DIV><DIV>&nbsp;</DIV><DIV>Yours,</DIV><DIV>Robert</DIV>]]>
   </description>
   <pubDate>Mon, 20 Jun 2011 10:19:12 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2779&amp;PID=11037#11037</guid>
  </item> 
  <item>
   <title>Synchronizing Entities :   I have an interesting scenerio...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2779&amp;PID=11031#11031</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=579" rel="nofollow">gregweb</a><br /><strong>Subject:</strong> 2779<br /><strong>Posted:</strong> 17-Jun-2011 at 7:52pm<br /><br />I have an interesting scenerio where an entity goes from the client, up to the server, is modified there (and saved to the database) and then comes back to the client.<div>&nbsp;</div><div>The issue is that on the client, I now have two nearly identical entities; they are out of synch.&nbsp; The first entity is in use, so I can't just remove&nbsp;it and replace it with the new instance.&nbsp; The only solution I have come up with is to manually synch the changed properties, but I was wondering if there was any other guidance.</div><div>&nbsp;</div><div>Greg</div>]]>
   </description>
   <pubDate>Fri, 17 Jun 2011 19:52:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2779&amp;PID=11031#11031</guid>
  </item> 
 </channel>
</rss>