<?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 : Set data source extension at runtime?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Set data source extension at runtime?</description>
  <pubDate>Sat, 11 Apr 2026 12:38:32 -700</pubDate>
  <lastBuildDate>Tue, 18 Aug 2009 12:51:20 -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=1427</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>Set data source extension at runtime? : Thanks for the reply Kimj,Changing...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1427&amp;PID=5185#5185</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=563" rel="nofollow">mtx_kguil</a><br /><strong>Subject:</strong> 1427<br /><strong>Posted:</strong> 18-Aug-2009 at 12:51pm<br /><br />Thanks for the reply Kimj,<br><br>Changing the name attributes of the edmKeys to "Default_Local" and "Default_Remote" (Instead of just "Local" and "Remote") did the trick!<br>]]>
   </description>
   <pubDate>Tue, 18 Aug 2009 12:51:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1427&amp;PID=5185#5185</guid>
  </item> 
  <item>
   <title>Set data source extension at runtime? : Do you also have EdmKeys defined...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1427&amp;PID=5184#5184</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> 1427<br /><strong>Posted:</strong> 18-Aug-2009 at 11:29am<br /><br />Do you also have EdmKeys defined for each, in both the client app.config and the web.config?&nbsp; The web.config needs the two EdmKeys, say "Default_Local" and "Default_Remote", so that it can obtain the correct database connection information; while the client app.config needs the two keys - with the same key names as used in the web.config - to both identify the data source and also the correct EntityServer service.]]>
   </description>
   <pubDate>Tue, 18 Aug 2009 11:29:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1427&amp;PID=5184#5184</guid>
  </item> 
  <item>
   <title>Set data source extension at runtime? :  Hello,I am currently working...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1427&amp;PID=5175#5175</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=563" rel="nofollow">mtx_kguil</a><br /><strong>Subject:</strong> 1427<br /><strong>Posted:</strong> 17-Aug-2009 at 1:46pm<br /><br />Hello,<br><br>I am currently working on a application that requires access to two separate but identically structured databases.<br><br>From what I got out of the documentation it seems easy enough, just define the data source extension in the web.config, refer to it when creating the EntityManager, and add the appropriate .svc file.<br><br>cl = new DomainModelEntityManager(true, "Local");<br>cr = new DomainModelEntityManager(true, "Remote");<br><br>However, when I do this it always seems to use whichever data source extension that is defined in the Object Mapper.<br><br>Anyone have any suggestions?<br><br><br>Thanks,<br><p><a href="file:///C:%5CUsers%5Ckyleg%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" target="_blank"><br><font size="3" face="Arial, Helvetica, sans-serif"><span style="font-size: 12pt; line-height: 115%; font-family: &quot;Times New Roman&quot;,&quot;serif&quot;;"></span></font></a></p><span style="font-size:10px"><br /><br />Edited by mtx_kguil - 17-Aug-2009 at 1:49pm</span>]]>
   </description>
   <pubDate>Mon, 17 Aug 2009 13:46:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1427&amp;PID=5175#5175</guid>
  </item> 
 </channel>
</rss>