<?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 : Comparing Entitylists</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Comparing Entitylists</description>
  <pubDate>Thu, 11 Jun 2026 15:10:33 -700</pubDate>
  <lastBuildDate>Tue, 30 Oct 2007 08:37:54 -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=525</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>Comparing Entitylists : Got it to work david..... Thanks  I...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=525&amp;PID=1835#1835</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=69" rel="nofollow">Darren</a><br /><strong>Subject:</strong> 525<br /><strong>Posted:</strong> 30-Oct-2007 at 8:37am<br /><br />Got it to work david..... Thanks<DIV>&nbsp;</DIV><DIV>I dont know what i was thinking.....guess i just got a carried away with trying to over complicate things.....who knows.</DIV><DIV>&nbsp;</DIV><DIV>We all have our bad days.....lol</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 30 Oct 2007 08:37:54 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=525&amp;PID=1835#1835</guid>
  </item> 
  <item>
   <title>Comparing Entitylists : You wouldn&amp;#039;t necessarily...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=525&amp;PID=1821#1821</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> 525<br /><strong>Posted:</strong> 29-Oct-2007 at 10:06am<br /><br />You wouldn't necessarily have to use the ORM Mapper on the data coming from the spreadsheet.&nbsp; Just read each row of the spreadsheet.&nbsp; Extract the three columns from the row, and then query the EntityList for a match.]]>
   </description>
   <pubDate>Mon, 29 Oct 2007 10:06:22 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=525&amp;PID=1821#1821</guid>
  </item> 
  <item>
   <title>Comparing Entitylists : David The excel sheet is loaded...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=525&amp;PID=1820#1820</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=69" rel="nofollow">Darren</a><br /><strong>Subject:</strong> 525<br /><strong>Posted:</strong> 29-Oct-2007 at 9:46am<br /><br /><P>David</P><DIV>The excel sheet is loaded at runtime , so i would not be able to use the ORM mapper.</DIV><DIV>&nbsp;</DIV><DIV>I have that 3column datatable to compare against the&nbsp;entitylist</DIV><DIV>&nbsp;</DIV><DIV>Do you have code sample for doing the compare this way.</DIV><DIV>&nbsp;</DIV><DIV>I can do this with 2 .net datatables no problem using the merge method.</DIV>]]>
   </description>
   <pubDate>Mon, 29 Oct 2007 09:46:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=525&amp;PID=1820#1820</guid>
  </item> 
  <item>
   <title>Comparing Entitylists : Take the datatable created from...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=525&amp;PID=1789#1789</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> 525<br /><strong>Posted:</strong> 26-Oct-2007 at 10:18am<br /><br /><DIV>Take the datatable created from the spreadsheet and add it to your solution using the ORM.&nbsp; The added table may or may not have the same datasource as the table that is the source for your EntityList</DIV><DIV>&nbsp;</DIV><DIV>You could now, of course, just&nbsp;compare each row in the table generated from the spreadsheet with each object in your EntityList, but&nbsp;here is something that is a little fancier.&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Create a new PersistenceManager and import your EntityList into the PM's cache.</DIV><DIV>&nbsp;</DIV><DIV>For each row in the spreadsheet table:</DIV><DIV>&nbsp;</DIV><DIV>(1)&nbsp; If there could be duplicate rows between the two tables, search the new PM's cache for the row in the spreadsheet table with the 3 matching columns.&nbsp; Be sure to use a QueryStrategy of CacheOnly.&nbsp; If you find a match, it's a duplicate.&nbsp; Ignore that row.</DIV><DIV>&nbsp;</DIV><DIV>(2)&nbsp; If the row is not a duplicate, create a new row (i.e., object), copy the values from the three columns, and add the new object to your EntityList.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><span style="font-size:10px"><br /><br />Edited by davidklitzke - 26-Oct-2007 at 10:28am</span>]]>
   </description>
   <pubDate>Fri, 26 Oct 2007 10:18:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=525&amp;PID=1789#1789</guid>
  </item> 
  <item>
   <title>Comparing Entitylists : Some guidance needed please. I...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=525&amp;PID=1783#1783</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=69" rel="nofollow">Darren</a><br /><strong>Subject:</strong> 525<br /><strong>Posted:</strong> 26-Oct-2007 at 7:44am<br /><br /><P>Some guidance needed please.</P><DIV>I have an EntityList called mUser&nbsp;that contains 3 columns.</DIV><DIV>I import data from an excel spreadsheet and populate a .net datatable</DIV><DIV>The datatable has the same 3 columns as the EntityList.</DIV><DIV>&nbsp;</DIV><DIV>I would like to compare these objects and then return an updated entitylist back to the PersistenceManager.</DIV><DIV>&nbsp;</DIV><DIV>Any ideas would be great or a alternative method.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 26 Oct 2007 07:44:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=525&amp;PID=1783#1783</guid>
  </item> 
 </channel>
</rss>