<?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 : Saving Cache using IEnumerable pDataRows</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Saving Cache using IEnumerable pDataRows</description>
  <pubDate>Sun, 19 May 2013 23:44:33 -700</pubDate>
  <lastBuildDate>Wed, 04 Jul 2007 11:12:10 -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=101</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>Saving Cache using IEnumerable pDataRows : Works Slick!   I got a DB error...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=101&amp;PID=231#231</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=32" rel="nofollow">DocScooter</a><br /><strong>Subject:</strong> 101<br /><strong>Posted:</strong> 04-Jul-2007 at 11:12am<br /><br /><img src="http://www.ideablade.com/forum/smileys/smiley20.gif" height="17" width="23" border="0" align="absmiddle" alt="Thumbs%20Up" />&nbsp; Works Slick!&nbsp; <DIV>&nbsp;</DIV><DIV>I got a DB error when I disconnected until I used the call PersistanceManager.Disconnect()</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Happy Fourth.....</DIV>]]>
   </description>
   <pubDate>Wed, 04 Jul 2007 11:12:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=101&amp;PID=231#231</guid>
  </item> 
  <item>
   <title>Saving Cache using IEnumerable pDataRows : Scott,  Yes. You can restore...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=101&amp;PID=228#228</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 101<br /><strong>Posted:</strong> 04-Jul-2007 at 8:16am<br /><br />Scott,<DIV>&nbsp;</DIV><DIV>Yes.&nbsp; You can restore the EnitySet to any PersistenceManager.</DIV><DIV>&nbsp;</DIV><DIV>David</DIV>]]>
   </description>
   <pubDate>Wed, 04 Jul 2007 08:16:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=101&amp;PID=228#228</guid>
  </item> 
  <item>
   <title>Saving Cache using IEnumerable pDataRows : Thanks, David. So far so good....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=101&amp;PID=227#227</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=32" rel="nofollow">DocScooter</a><br /><strong>Subject:</strong> 101<br /><strong>Posted:</strong> 03-Jul-2007 at 1:02pm<br /><br />Thanks, David.&nbsp; So far so good.&nbsp; Can I restore the EntitySet to any PersistanceManager or do I have to restore and then import?<DIV>&nbsp;</DIV><DIV>What I am trying to do is store reference tables locally so that I will minimize network traffic since bandwidth and network traffic is an issue.&nbsp; Once I have the tables locally I will just have to worry about the changes and that should be relatively easy to accomplish....</DIV><DIV>&nbsp;</DIV><DIV>Thanks again and have a GREAT Independance Day!</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 03 Jul 2007 13:02:07 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=101&amp;PID=227#227</guid>
  </item> 
  <item>
   <title>Saving Cache using IEnumerable pDataRows : You can create a new PersistenceManager....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=101&amp;PID=223#223</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 101<br /><strong>Posted:</strong> 03-Jul-2007 at 10:17am<br /><br />You can create a new PersistenceManager.&nbsp; Then use ImportEntities to import the entities from one PersistenceManager to another.<DIV>&nbsp;</DIV><DIV>Here is a code snippet which copies all changed Employees from one PersistenceManager to another.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mPmLegacy = new PersistenceManager(true, "Legacy");<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; mPmLegacy.ImportEntities(mPM.GetEntities&lt;Employee&gt;(DataRowState.Modified | DataRowState.Added | DataRowState.Deleted), MergeStrategy.PreserveChanges);<BR>&nbsp;&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 03 Jul 2007 10:17:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=101&amp;PID=223#223</guid>
  </item> 
  <item>
   <title>Saving Cache using IEnumerable pDataRows : I think I would like to save a...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=101&amp;PID=222#222</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=32" rel="nofollow">DocScooter</a><br /><strong>Subject:</strong> 101<br /><strong>Posted:</strong> 03-Jul-2007 at 5:28am<br /><br />I think I would like to save a subset of the cache using the SaveEntitySet(ByVal&nbsp;pDataRows As IEnumerable, ByVal pFileName As string) overload.&nbsp; But there is no clear example I have found in the tutorials or Developers Guide to develop the pDataRows in the DevForce context.&nbsp; Maybe it's there and I just haven't found it or I don't know what to look for....<DIV>&nbsp;</DIV><DIV>Can you post something that might enlighten me...please.&nbsp; Thanks.</DIV><DIV>&nbsp;</DIV><DIV>DocScooter</DIV>]]>
   </description>
   <pubDate>Tue, 03 Jul 2007 05:28:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=101&amp;PID=222#222</guid>
  </item> 
 </channel>
</rss>