<?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 : Custom datasourcekey</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Custom datasourcekey</description>
  <pubDate>Sun, 12 Apr 2026 02:28:00 -700</pubDate>
  <lastBuildDate>Wed, 04 Mar 2009 14:39:30 -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=1111</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>Custom datasourcekey : The IDataSourceKeyResolver and...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1111&amp;PID=3974#3974</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> 1111<br /><strong>Posted:</strong> 04-Mar-2009 at 2:39pm<br /><br />The IDataSourceKeyResolver and IDataSourceKey interfaces haven't changed in several years, so I'm not sure what's going on here.&nbsp; Double check that references to the AppHelper project are correct.&nbsp; <DIV>&nbsp;</DIV><DIV>Also, since in another thread you indicate you've got a problem with a license violation, it's possible that your install was somehow corrupt, so you may want to uninstall and re-install to see if that fixes things.</DIV>]]>
   </description>
   <pubDate>Wed, 04 Mar 2009 14:39:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1111&amp;PID=3974#3974</guid>
  </item> 
  <item>
   <title>Custom datasourcekey : I have just upgraded to 3.6.5.4....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1111&amp;PID=3966#3966</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=173" rel="nofollow">lars-erik</a><br /><strong>Subject:</strong> 1111<br /><strong>Posted:</strong> 04-Mar-2009 at 1:36am<br /><br /><i>I have just upgraded to 3.6.5.4. Now my custom datasourcekeyresolver in Apphelper no longer compiles.<br>I get errors:<br><br>Error&nbsp;&nbsp;&nbsp; 39&nbsp;&nbsp;&nbsp; Class 'MyDataSourceKeyResolver' must implement 'Function GetKey(pKeyName As String, pKeyExtension As String) As Util.IDataSourceKey' for interface 'IdeaBlade.Persistence.IDataSourceKeyResolver'.&nbsp;&nbsp;&nbsp; C:\Documents and Settings\Administrator.TIMPEXAS\My Documents\Visual Studio Projects\larserik\skanning_trunk\src\ScanFrbClient_lok\AppHelper\MyDataSourceKeyResolver.vb&nbsp;&nbsp;&nbsp; 6&nbsp;&nbsp;&nbsp; 51&nbsp;&nbsp;&nbsp; AppHelper<br><br>Error&nbsp;&nbsp;&nbsp; 40&nbsp;&nbsp;&nbsp; 'GetKey' cannot implement 'GetKey' because there is no matching function on interface 'IdeaBlade.Persistence.IDataSourceKeyResolver'.&nbsp;&nbsp;&nbsp; C:\Documents and Settings\Administrator.TIMPEXAS\My Documents\Visual Studio Projects\larserik\skanning_trunk\src\ScanFrbClient_lok\AppHelper\MyDataSourceKeyResolver.vb&nbsp;&nbsp;&nbsp; 9&nbsp;&nbsp;&nbsp; 129&nbsp;&nbsp;&nbsp; AppHelper<br><br><br><br>This is my code:<br>Imports IdeaBlade.Persistence<br>Imports IdeaBlade.Util<br>Imports IdeaBlade.Rdb<br><br>&lt;Serializable()&gt; _<br>Public Class MyDataSourceKeyResolver : Implements IDataSourceKeyResolver<br><br><br>&nbsp;&nbsp;&nbsp; Public Function GetKey(ByVal pKeyName As String, ByVal pKeyExtension As String) As IdeaBlade.Util.IDataSourceKey Implements IdeaBlade.Persistence.IDataSourceKeyResolver.GetKey<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; If (pKeyExtension.ToLower() &lt;&gt; "default") Then<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim connectionString As String = pKeyExtension<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Return New IdeaBlade.Rdb.RdbKey(pKeyName, connectionString)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Else<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Return Nothing ' Didn't build key; DefaultDataSourceKeyResolver takes over<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; End If<br><br>&nbsp;&nbsp;&nbsp; End Function<br><br>End Class<br><br><br></i>&nbsp;<br>]]>
   </description>
   <pubDate>Wed, 04 Mar 2009 01:36:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1111&amp;PID=3966#3966</guid>
  </item> 
 </channel>
</rss>