<?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 : Copying/Cloning models between SQL Instances</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Copying/Cloning models between SQL Instances</description>
  <pubDate>Mon, 13 Apr 2026 06:46:18 -700</pubDate>
  <lastBuildDate>Fri, 14 Mar 2008 11:15:37 -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=600</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>Copying/Cloning models between SQL Instances : Has this been resolved. I am wanting...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=600&amp;PID=2695#2695</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=136" rel="nofollow">orcities</a><br /><strong>Subject:</strong> 600<br /><strong>Posted:</strong> 14-Mar-2008 at 11:15am<br /><br />Has this been resolved. I am wanting the same thing. A clone of the object and all of it's references.]]>
   </description>
   <pubDate>Fri, 14 Mar 2008 11:15:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=600&amp;PID=2695#2695</guid>
  </item> 
  <item>
   <title>Copying/Cloning models between SQL Instances : I have this same code sample (from...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=600&amp;PID=2201#2201</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=169" rel="nofollow">PJones</a><br /><strong>Subject:</strong> 600<br /><strong>Posted:</strong> 13-Dec-2007 at 9:35am<br /><br />I have this same code sample (from tech support) already.<DIV>&nbsp;</DIV><DIV>When you say "handles" foreign keys what do you mean?</DIV><DIV>&nbsp;</DIV><DIV>What I want is the object and its entire dependent tree including all data in all child objects cloned.&nbsp; This code only clones the target object and skips all relations downward and makes an exact copy of foreign key values which will not always work (ie. if I clone a patternCollection child of a Project class I don't want it to be the child of Project 1 (cloned) but the child of the newly created (cloned) Project object).</DIV><DIV>&nbsp;</DIV><DIV>Pete</DIV>]]>
   </description>
   <pubDate>Thu, 13 Dec 2007 09:35:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=600&amp;PID=2201#2201</guid>
  </item> 
  <item>
   <title>Copying/Cloning models between SQL Instances : Here is some sample code for cloning....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=600&amp;PID=2169#2169</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> 600<br /><strong>Posted:</strong> 12-Dec-2007 at 8:34am<br /><br />Here is some sample code for cloning.&nbsp; It handles such problems as:<DIV>&nbsp;</DIV><DIV>o A cloned object cannot have a primary key identical to the object from which it is being cloned.</DIV><DIV>o Handling of foreign keys</DIV><DIV>&nbsp;</DIV><DIV><a href="http://www.ideablade.com/forum/uploads/20071212_113325_EntityCl&#111;ner.zip" target="_blank">uploads/20071212_113325_EntityCloner.zip</A></DIV>]]>
   </description>
   <pubDate>Wed, 12 Dec 2007 08:34:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=600&amp;PID=2169#2169</guid>
  </item> 
  <item>
   <title>Copying/Cloning models between SQL Instances : I have a need to read an object...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=600&amp;PID=2155#2155</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=169" rel="nofollow">PJones</a><br /><strong>Subject:</strong> 600<br /><strong>Posted:</strong> 11-Dec-2007 at 10:30am<br /><br />I have a need to read an object model from one SQL (remote) database and persist that model to another SQL (local) database.&nbsp; I also need to be able to push the local DB info back to the remote.<DIV>&nbsp;</DIV><DIV>Are there any built-in features and/or best practices for accomplishing this?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 11 Dec 2007 10:30:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=600&amp;PID=2155#2155</guid>
  </item> 
 </channel>
</rss>