<?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 : Using EntityServerSaveInterceptor with CF</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Using EntityServerSaveInterceptor with CF</description>
  <pubDate>Wed, 13 May 2026 03:02:38 -700</pubDate>
  <lastBuildDate>Wed, 05 Sep 2012 03:43:21 -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=3608</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>Using EntityServerSaveInterceptor with CF : Sorry, it was late..I was adding...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3608&amp;PID=14341#14341</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1181" rel="nofollow">jradxl</a><br /><strong>Subject:</strong> 3608<br /><strong>Posted:</strong> 05-Sep-2012 at 3:43am<br /><br />Sorry, it was late..<br>I was adding a new entity for auditing and was refactoring some code and forgot why I did it that way originally.<br>Now I just put them in a collection and addEntities() later outside loop.<br>Thanks<br><br><br>]]>
   </description>
   <pubDate>Wed, 05 Sep 2012 03:43:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3608&amp;PID=14341#14341</guid>
  </item> 
  <item>
   <title>Using EntityServerSaveInterceptor with CF : When trying to use an EntityServerSaveInterceptor ...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3608&amp;PID=14331#14331</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1181" rel="nofollow">jradxl</a><br /><strong>Subject:</strong> 3608<br /><strong>Posted:</strong> 04-Sep-2012 at 4:17pm<br /><br />When trying to use an <span style="color:#2b91af;">EntityServerSaveInterceptor</span> with Code First I'm getting a "Collection was modified; enumeration operation may not execute" error.<br><br>Is it obvious what I'm doing wrong?<br><br>thanks<br><pre style="font-family:C&#111;nsolas;font-size:13;color:black;:white;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue;">protected</span>&nbsp;<span style="color:blue;">override</span>&nbsp;<span style="color:blue;">bool</span>&nbsp;ExecuteSave()&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">var</span>&nbsp;em&nbsp;=&nbsp;<span style="color:blue;">this</span>.EntityManager;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:blue;">var</span>&nbsp;entities&nbsp;=&nbsp;em.FindEntities(<span style="color:#2b91af;">EntityState</span>.Added&nbsp;|&nbsp;<span style="color:#2b91af;">EntityState</span>.Modified&nbsp;|&nbsp;<span style="color:#2b91af;">EntityState</span>.Deleted);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">foreach</span>&nbsp;(<span style="color:#2b91af;">IEntity</span>&nbsp;entity&nbsp;<span style="color:blue;">in</span>&nbsp;entities)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br><br></pre>]]>
   </description>
   <pubDate>Tue, 04 Sep 2012 16:17:58 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3608&amp;PID=14331#14331</guid>
  </item> 
 </channel>
</rss>