<?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 : Dispose of EntityManager</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Dispose of EntityManager</description>
  <pubDate>Tue, 07 Jul 2026 20:30:47 -700</pubDate>
  <lastBuildDate>Thu, 07 Oct 2010 11:04:55 -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=2213</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>Dispose of EntityManager : An Entity Manager will be taken...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2213&amp;PID=8742#8742</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 2213<br /><strong>Posted:</strong> 07-Oct-2010 at 11:04am<br /><br /><P>An Entity Manager will be taken care of by the Garbage Collection once there are not references to it.</P><DIV>Yet, if you want to be extra cautious, you could do;</DIV><DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas></FONT></FONT>&nbsp;</DIV><DIV><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>_entityManager.Clear();</DIV><DIV><DIV>_entityManager = </FONT></FONT><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas><FONT color=#0000ff size=2 face=C&#111;nsolas>null</FONT></FONT></FONT><FONT size=2 face=C&#111;nsolas><FONT size=2 face=C&#111;nsolas>;</DIV></FONT></FONT></DIV><DIV>&nbsp;</DIV><DIV>Be sure not to have any references to&nbsp;<FONT size=2 face=C&#111;nsolas>_entityManager</FONT> (UI, etc).</DIV>]]>
   </description>
   <pubDate>Thu, 07 Oct 2010 11:04:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2213&amp;PID=8742#8742</guid>
  </item> 
  <item>
   <title>Dispose of EntityManager : What&amp;#039;s the recommended way...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2213&amp;PID=8700#8700</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=587" rel="nofollow">cjohnson84</a><br /><strong>Subject:</strong> 2213<br /><strong>Posted:</strong> 04-Oct-2010 at 10:16am<br /><br />What's the recommended way to completely dispose of an Entity Manager once you're finished with it?]]>
   </description>
   <pubDate>Mon, 04 Oct 2010 10:16:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2213&amp;PID=8700#8700</guid>
  </item> 
 </channel>
</rss>