<?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 : Cloning entities, is there anything built in?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Cloning entities, is there anything built in?</description>
  <pubDate>Tue, 12 May 2026 22:29:32 -700</pubDate>
  <lastBuildDate>Mon, 07 Jan 2013 10:54:51 -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=3877</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>Cloning entities, is there anything built in? :   Great! Works as expected. </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3877&amp;PID=15525#15525</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1264" rel="nofollow">katit</a><br /><strong>Subject:</strong> 3877<br /><strong>Posted:</strong> 07-Jan-2013 at 10:54am<br /><br />Great! Works as expected.]]>
   </description>
   <pubDate>Mon, 07 Jan 2013 10:54:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3877&amp;PID=15525#15525</guid>
  </item> 
  <item>
   <title>Cloning entities, is there anything built in? :   Oh sorry, yes, System.ICloneable...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3877&amp;PID=15523#15523</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 3877<br /><strong>Posted:</strong> 07-Jan-2013 at 10:36am<br /><br />Oh sorry, yes, System.ICloneable is a .NET only interface.&nbsp;&nbsp; In SL applications you can use IdeaBlade.Core.ICloneable.]]>
   </description>
   <pubDate>Mon, 07 Jan 2013 10:36:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3877&amp;PID=15523#15523</guid>
  </item> 
  <item>
   <title>Cloning entities, is there anything built in? :   Thank you for reply!I tried...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3877&amp;PID=15522#15522</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1264" rel="nofollow">katit</a><br /><strong>Subject:</strong> 3877<br /><strong>Posted:</strong> 07-Jan-2013 at 10:00am<br /><br />Thank you for reply!<div>&nbsp;</div><div>I tried to do it with ICloneable but it won't work. Is it SIlverlight issue?<br></div><div>I get error Error&nbsp;6<strong>&nbsp;'System.ICloneable' is inaccessible due to its protection level</strong>&nbsp;<br></div>]]>
   </description>
   <pubDate>Mon, 07 Jan 2013 10:00:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3877&amp;PID=15522#15522</guid>
  </item> 
  <item>
   <title>Cloning entities, is there anything built in? :   Yes, all DevForce entities...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3877&amp;PID=15515#15515</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 3877<br /><strong>Posted:</strong> 06-Jan-2013 at 2:36pm<br /><br />Yes, all DevForce entities implement ICloneable via an explicit interface implementation.&nbsp;&nbsp; You can cast to ICloneable and call Clone:<div>&nbsp; Customer customerCopy = ((ICloneable)aCustomer).Clone() <span style="color: rgb0, 0, 255;">as</span> Customer;</div><div>&nbsp;</div><div>The returned entity is in a Detached entity state.</div><div>&nbsp;</div><div>More information on working with entities is in the DevForce Resource Center - <a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/create-modify-delete" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/create-modify-delete</a>.</div>]]>
   </description>
   <pubDate>Sun, 06 Jan 2013 14:36:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3877&amp;PID=15515#15515</guid>
  </item> 
  <item>
   <title>Cloning entities, is there anything built in? :   Let&amp;#039;s say I want to create...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3877&amp;PID=15513#15513</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1264" rel="nofollow">katit</a><br /><strong>Subject:</strong> 3877<br /><strong>Posted:</strong> 06-Jan-2013 at 11:57am<br /><br />Let's say I want to create detached entity instance with properties matching existing entity. Classic example - in data entry details I want to create copy of the order line.<div>&nbsp;</div><div>How do I do this? Currently I'm manually copying each property value. Is there anything built-in for this?</div>]]>
   </description>
   <pubDate>Sun, 06 Jan 2013 11:57:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3877&amp;PID=15513#15513</guid>
  </item> 
 </channel>
</rss>