<?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 : To get the New</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : To get the New</description>
  <pubDate>Tue, 14 Apr 2026 16:17:30 -700</pubDate>
  <lastBuildDate>Tue, 15 Jul 2008 10:11: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=888</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>To get the New : Are you writing a DevForce EF...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=888&amp;PID=3222#3222</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> 888<br /><strong>Posted:</strong> 15-Jul-2008 at 10:11am<br /><br />Are you writing a DevForce EF application or a "hybrid" DEF-WinForms application?&nbsp; In either case, you don't need the IdeaBlade.Persistence.* assemblies.<DIV>&nbsp;</DIV><DIV>In DEF, the IDataSourceKeyResolver is part of the IdeaBlade.EntityModel.v4 namespace.&nbsp;&nbsp;&nbsp; Also, although the RdbKey was retained for legacy purposes in DEF, it is not used internally by the framework.&nbsp; You should be returning an EdmKey from the IDataSourceKeyResolver implementation.</DIV>]]>
   </description>
   <pubDate>Tue, 15 Jul 2008 10:11:50 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=888&amp;PID=3222#3222</guid>
  </item> 
  <item>
   <title>To get the New :  Hello,   we aretrying to set...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=888&amp;PID=3220#3220</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=328" rel="nofollow">viralvasaiwala</a><br /><strong>Subject:</strong> 888<br /><strong>Posted:</strong> 14-Jul-2008 at 11:53pm<br /><br /><DIV>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">Hello, </FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">we are&nbsp;trying to set connection string dynamically with the datalayer of the appication. But&nbsp;we are&nbsp;facing problem with IDataSourceKeyResolver. </FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">Here is&nbsp;&nbsp;the codesnippet of Metadata is given below, where&nbsp;we are&nbsp;not able to implement this method in&nbsp;our class. We are getting an error of IdeaBlade.Util.IDataSourceKey</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">====================================================================================</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#0000ff>using System;<BR><BR>namespace IdeaBlade.Persistence<BR>{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public interface IDataSourceKeyResolver<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IdeaBlade.Util.IDataSourceKey GetKey(string pKeyName, string pKeyExtension);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<BR>}&nbsp;</FONT></DIV><DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">====================================================================================</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">When we implement it we are getting an error given below:</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">====================================================================================</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#ff0000>The type or namespace name 'IDataSourceKey' does not exist in the namespace 'IdeaBlade.Util' (are you missing an assembly reference?) ........\AppHelper\HEDataSourceKey.cs</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">* Reason is IDataSourceKey belongs to "IDEABLADE.UTIL.v4" not&nbsp;in "IDEABLADE.UTIL"</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">====================================================================================</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">If&nbsp;we change the&nbsp;implementation in the below manner:</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">Code Snippet</FONT></DIV><DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">====================================================================================</FONT></DIV></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IdeaBlade.Util.v4.IDataSourceKey GetKey(string pKeyName, string pKeyExtension)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; String ConnectionStringNew = "Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=xxxx;Data&nbsp;</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#0000ff>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Source=xxxx\\serverhere";<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IdeaBlade.Util.v4.IDataSourceKey objKey = new IdeaBlade.Rdb.v4.RdbKey(pKeyName, ConnectionStringNew);<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return objKey;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}</FONT></DIV><DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">====================================================================================</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">After the above changes now we are getting the error :</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">====================================================================================</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif" color=#ff0000>Error 1 'AppHelper.HEDataSourceKey' does not implement interface member 'IdeaBlade.Persistence.IDataSourceKeyResolver.GetKey(string, string)'. 'AppHelper.HEDataSourceKey.GetKey(string, string)' cannot implement an interface member because it is not public. \AppHelper\HEDataSourceKey.cs 12 16 AppHelper</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">====================================================================================</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif">Please reply for&nbsp;this issue&nbsp;as early as possible.</FONT></DIV><DIV><FONT face="Verdana, Arial, Helvetica, sans-serif"></FONT>&nbsp;</DIV></DIV>]]>
   </description>
   <pubDate>Mon, 14 Jul 2008 23:53:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=888&amp;PID=3220#3220</guid>
  </item> 
 </channel>
</rss>