<?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 : InitializaDbProvider</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2012 : InitializaDbProvider</description>
  <pubDate>Fri, 10 Apr 2026 21:52:56 -700</pubDate>
  <lastBuildDate>Thu, 27 Sep 2012 10:26:31 -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=3675</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>InitializaDbProvider :   You don&amp;#039;t need to use...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3675&amp;PID=14640#14640</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> 3675<br /><strong>Posted:</strong> 27-Sep-2012 at 10:26am<br /><br />You don't need to use reflection to access these properties on the EdmKey, so you can instead do something like:<div>&nbsp;</div><div>var edmKey = new EdmKey((ClientEdmKey)dataSourceKey);<br>var dbConnectionString = edmKey.DbConnectionString;<br>var providerName = edmKey.DbProviderName;</div>]]>
   </description>
   <pubDate>Thu, 27 Sep 2012 10:26:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3675&amp;PID=14640#14640</guid>
  </item> 
  <item>
   <title>InitializaDbProvider : Hello,I&amp;#039;m migrating to 2012...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3675&amp;PID=14639#14639</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=475" rel="nofollow">dmaya</a><br /><strong>Subject:</strong> 3675<br /><strong>Posted:</strong> 27-Sep-2012 at 7:45am<br /><br />Hello,<div><br></div><div>I'm migrating to 2012 and there is a class changed to internal :</div><div><br></div><div><div>&nbsp; &nbsp; &nbsp; &nbsp; private static void InitializeDbProvider(IDataSourceKey dataSourceKey)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; {</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // If you don't want to directly reference the assembly, you can use reflection to get what</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // you need at run time (the IdeaBlade.EntityModel.Edm assembly is always loaded by the BOS).</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Type t = IdeaBlade.Core.InternalFns.GetIdeaBladeType("IdeaBlade.EntityModel.Edm.EdmKey", true);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var primer = t.GetProperty("DbConnectionString");</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var edmKey = new EdmKey((ClientEdmKey)dataSourceKey);</div></div><div><br></div><div>it's : IdeaBlade.Core.InternalFns.GetIdeaBladeType</div><div><br></div><div>How sould be refactored?</div><div><br></div><div>Thank you</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 27 Sep 2012 07:45:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3675&amp;PID=14639#14639</guid>
  </item> 
 </channel>
</rss>