<?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 : Reference lists in sandboxed entity manager</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Reference lists in sandboxed entity manager</description>
  <pubDate>Sun, 12 Apr 2026 17:32:25 -700</pubDate>
  <lastBuildDate>Sun, 23 Jan 2011 11:13:33 -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=2463</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>Reference lists in sandboxed entity manager : You have to import any entities...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2463&amp;PID=9762#9762</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=449" rel="nofollow">smi-mark</a><br /><strong>Subject:</strong> 2463<br /><strong>Posted:</strong> 23-Jan-2011 at 11:13am<br /><br />You have to import any entities you want to use into the new entity manager.<br><br>Rather than sandboxing Invoices and Invoice Details individually, I would sandbox the entire Invoice/Invoice Detail area. So that if you have multiple invoices open, they are in different managers, but each invoice and it's child details are together.<br><br><br><br><br>]]>
   </description>
   <pubDate>Sun, 23 Jan 2011 11:13:33 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2463&amp;PID=9762#9762</guid>
  </item> 
  <item>
   <title>Reference lists in sandboxed entity manager : I&amp;#039;m trying to sandbox my...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2463&amp;PID=9758#9758</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=870" rel="nofollow">hueha</a><br /><strong>Subject:</strong> 2463<br /><strong>Posted:</strong> 23-Jan-2011 at 3:03am<br /><br />I'm trying to sandbox my editing but I'm across a problem. &nbsp;If I try and assign an entity to the property of another entity I get the following error<div><br></div><div>Cannot assign entities from one entity manager to another unless the entity on one side or the other is detached.</div><div><br></div><div>I've managed to get around it for some static reference data by assigning it via primary keys rather than the related object. &nbsp;But how should this work for many to many relationships. &nbsp;</div><div><br></div><div>Another scenario.</div><div>Lets say I have a parent child relation e.g. "invoice" and "invoice detail" and invoice detail have an"item" property. &nbsp;If I sandboxed the invoice edit and then sandboxed the invoice detail edit would I end up with 3 versions of the "item" entity (1 in the main EM, one in the invoice sandbox and one in the invoice detail sandbox) in memory, is there a better way to handle this? &nbsp;</div><div><br></div><div>Or is the recommended way to sandbox the invoice from the main em and the invoice detail from the main em also instead of importing from the invoice sandbox, which would avoid the need for the invoice sandbox to contain the items for the invoice detail sandbox. &nbsp;If this is the better way how to I reflect the changes from the invoice detail sandbox in the invoice when the invoice detail sandbox closes.</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Sun, 23 Jan 2011 03:03:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2463&amp;PID=9758#9758</guid>
  </item> 
 </channel>
</rss>