<?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 : Cocktail can support copying between databases?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : Community Forum : Cocktail can support copying between databases?</description>
  <pubDate>Mon, 22 Jun 2026 19:14:42 -700</pubDate>
  <lastBuildDate>Wed, 06 Feb 2013 06:02:50 -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=3977</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>Cocktail can support copying between databases? :   We have a whole chapteron...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3977&amp;PID=15813#15813</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3977<br /><strong>Posted:</strong> 06-Feb-2013 at 6:02am<br /><br />We have a whole chapter&nbsp;on building dynamic queries on our DRC that provides the foundation for a QueryBuilder. <div>&nbsp;</div><div><a href="http://drc.ideablade.com/devforce-2012/bin/view/&#068;ocumentati&#111;n/dynamic-queries" target="_blank">http://drc.ideablade.com/devforce-2012/bin/view/Documentation/dynamic-queries</a></div>]]>
   </description>
   <pubDate>Wed, 06 Feb 2013 06:02:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3977&amp;PID=15813#15813</guid>
  </item> 
  <item>
   <title>Cocktail can support copying between databases? :   I currently deals with the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3977&amp;PID=15811#15811</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1440" rel="nofollow">giotis</a><br /><strong>Subject:</strong> 3977<br /><strong>Posted:</strong> 06-Feb-2013 at 4:47am<br /><br /><span id="result_" =""="" lang="en"><span ="hps"="">&nbsp;&nbsp;&nbsp;&nbsp; I</span> <span ="hps"="">currently</span> <span ="hps"="">deals with</span> <span ="hps"="">the construction</span> <span ="hps"="">of a QueryBuilder, any help? <br></span></span><span style="font-size:10px"><br /><br />Edited by giotis - 06-Feb-2013 at 1:52pm</span>]]>
   </description>
   <pubDate>Wed, 06 Feb 2013 04:47:38 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3977&amp;PID=15811#15811</guid>
  </item> 
  <item>
   <title>Cocktail can support copying between databases? :  giotis,You are asking for consulting...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3977&amp;PID=15807#15807</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3977<br /><strong>Posted:</strong> 05-Feb-2013 at 8:12pm<br /><br />giotis,<div>You are asking for consulting advice that goes beyond product feature support. Using DevForce/Cocktail for the purpose of copying data from one database to another is quite unorthodox and not a feature of the product as such. Please understand that we have a consulting team for these kinds of questions as outlined in the rules of engagement post. I'll gladly answer questions about specific features of Cocktail/DevForce in this forum, but for further advise on how to implement a feature like this, I have to refer you to our consulting organization.&nbsp;</div><div><br></div><div>http://www.ideablade.com/forum/forum_posts.asp?TID=3772&amp;title=please-read-rules-of-engagement</div><span style="font-size:10px"><br /><br />Edited by mgood - 05-Feb-2013 at 8:14pm</span>]]>
   </description>
   <pubDate>Tue, 05 Feb 2013 20:12:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3977&amp;PID=15807#15807</guid>
  </item> 
  <item>
   <title>Cocktail can support copying between databases? :  something like this ? public...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3977&amp;PID=15805#15805</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1440" rel="nofollow">giotis</a><br /><strong>Subject:</strong> 3977<br /><strong>Posted:</strong> 05-Feb-2013 at 2:54pm<br /><br /><span id="result_" ="short_text"="" lang="en"><span ="hps"="">something</span> <span ="hps"="">like this</span></span> ?<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>public CopyDataViewModel(IResourceMgtUnitOfWork UnitOfWork)&nbsp;&nbsp;&nbsp; {<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IGlobalCache globalCache = new GlobalCache(SecondManagerProvider);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IResourceMgtUnitOfWork uow = new ResourceMgtUnitOfWork(SecondManagerProvider, globalCache);<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var items = UnitOfWork.StaffingResource.AllAsync();<br>&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .... and after ?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .... How can do the copying?<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#091;Export&#093;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public IEntityManagerProvider&lt;TempHireEntities&gt; SecondManagerProvider&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; get&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var provider = new EntityManagerProvider&lt;TempHireEntities&gt;();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; provider.Configure(config =&gt; config.WithConnectionOptions(ConnectionOptions.Second.Name));<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return provider;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><span style="font-size:10px"><br /><br />Edited by giotis - 05-Feb-2013 at 2:58pm</span>]]>
   </description>
   <pubDate>Tue, 05 Feb 2013 14:54:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3977&amp;PID=15805#15805</guid>
  </item> 
  <item>
   <title>Cocktail can support copying between databases? : I&amp;#039;m assuming that the sample...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3977&amp;PID=15803#15803</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1005" rel="nofollow">mgood</a><br /><strong>Subject:</strong> 3977<br /><strong>Posted:</strong> 05-Feb-2013 at 2:26pm<br /><br />I'm assuming that the sample you refer to uses two EntityManagers with different datasource extensions to connect to different databases and then queries the data from the first EM adds it to the second EM and saves.&nbsp;<div><br></div><div>First of all that's about the most&nbsp;inefficient&nbsp;way of copying data. That's a huge overhead just to copy data. You better handle this at the database level.</div><div><br></div><div>Anyway, if you want to do it this way, you just create two EntityManagerProviders with different ConnectionOptions.</div>]]>
   </description>
   <pubDate>Tue, 05 Feb 2013 14:26:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3977&amp;PID=15803#15803</guid>
  </item> 
  <item>
   <title>Cocktail can support copying between databases? : I know that IdeaBlade supports...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3977&amp;PID=15800#15800</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1440" rel="nofollow">giotis</a><br /><strong>Subject:</strong> 3977<br /><strong>Posted:</strong> 05-Feb-2013 at 2:10pm<br /><br /><span id="result_" ="" lang="en"><span ="hps">I know</span> <span ="hps">that IdeaBlade </span><span ="hps">supports</span> <span ="hps alt-edited">copying</span> <span ="hps">between</span> <span ="hps">two databases</span><span>, (I have see the sample)<br></span><span ="hps">can be done</span> this under cocktail and how?<br><br>many thanks<span ="hps"></span><span =""></span></span>]]>
   </description>
   <pubDate>Tue, 05 Feb 2013 14:10:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3977&amp;PID=15800#15800</guid>
  </item> 
 </channel>
</rss>