<?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 : NumericIdGenerator</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : NumericIdGenerator</description>
  <pubDate>Tue, 21 Apr 2026 12:26:44 -700</pubDate>
  <lastBuildDate>Fri, 18 Jun 2010 14:17:52 -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=1878</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>NumericIdGenerator : We&amp;#039;ve updated the NumericIdGenerator...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1878&amp;PID=7355#7355</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=4" rel="nofollow">GregD</a><br /><strong>Subject:</strong> 1878<br /><strong>Posted:</strong> 18-Jun-2010 at 2:17pm<br /><br />We've updated the NumericIdGenerator in-house to work properly with Silverlight;  the new version will be included with our next release. Anyone who needs it before then, please contact Support.<br /> ]]>
   </description>
   <pubDate>Fri, 18 Jun 2010 14:17:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1878&amp;PID=7355#7355</guid>
  </item> 
  <item>
   <title>NumericIdGenerator : I&amp;#039;ll check into it. </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1878&amp;PID=7300#7300</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=4" rel="nofollow">GregD</a><br /><strong>Subject:</strong> 1878<br /><strong>Posted:</strong> 12-Jun-2010 at 7:01am<br /><br />I'll check into it.]]>
   </description>
   <pubDate>Sat, 12 Jun 2010 07:01:25 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1878&amp;PID=7300#7300</guid>
  </item> 
  <item>
   <title>NumericIdGenerator : Here is the code  public bool...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1878&amp;PID=7298#7298</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=791" rel="nofollow">Vincent</a><br /><strong>Subject:</strong> 1878<br /><strong>Posted:</strong> 11-Jun-2010 at 11:40pm<br /><br /><P>Here is the code</P><DIV><FONT face=C&#111;nsolas size=2><FONT face=C&#111;nsolas size=2><P></FONT></FONT><FONT face=C&#111;nsolas color=#0000ff size=2><FONT face=C&#111;nsolas color=#0000ff size=2><FONT face=C&#111;nsolas color=#0000ff size=2>public</FONT></FONT></FONT><FONT face=C&#111;nsolas size=2><FONT face=C&#111;nsolas size=2> </FONT></FONT><FONT face=C&#111;nsolas color=#0000ff size=2><FONT face=C&#111;nsolas color=#0000ff size=2><FONT face=C&#111;nsolas color=#0000ff size=2>bool</FONT></FONT></FONT><FONT face=C&#111;nsolas size=2><FONT face=C&#111;nsolas size=2> IsApplicable(</FONT></FONT><FONT face=C&#111;nsolas color=#2b91af size=2><FONT face=C&#111;nsolas color=#2b91af size=2><FONT face=C&#111;nsolas color=#2b91af size=2>IDataSourceKey</FONT></FONT></FONT><FONT face=C&#111;nsolas size=2><FONT face=C&#111;nsolas size=2> dataSourceKey)</P><P>{</P><P></FONT></FONT><FONT face=C&#111;nsolas color=#008000 size=2><FONT face=C&#111;nsolas color=#008000 size=2><FONT face=C&#111;nsolas color=#008000 size=2>//return dataSourceKey.Name.StartsWith("IdeaBladeTest", StringComparison.OrdinalIgnoreCase);</P></FONT></FONT></FONT><FONT face=C&#111;nsolas size=2><FONT face=C&#111;nsolas size=2><P></FONT></FONT><FONT face=C&#111;nsolas color=#008000 size=2><FONT face=C&#111;nsolas color=#008000 size=2><FONT face=C&#111;nsolas color=#008000 size=2>//</P></FONT></FONT></FONT><FONT face=C&#111;nsolas size=2><FONT face=C&#111;nsolas size=2><P></FONT></FONT><FONT face=C&#111;nsolas color=#0000ff size=2><FONT face=C&#111;nsolas color=#0000ff size=2><FONT face=C&#111;nsolas color=#0000ff size=2>return</FONT></FONT></FONT><FONT face=C&#111;nsolas size=2><FONT face=C&#111;nsolas size=2> </FONT></FONT><FONT face=C&#111;nsolas color=#0000ff size=2><FONT face=C&#111;nsolas color=#0000ff size=2><FONT face=C&#111;nsolas color=#0000ff size=2>true</FONT></FONT></FONT><FONT face=C&#111;nsolas size=2><FONT face=C&#111;nsolas size=2>;</P><P></FONT></FONT><FONT face=C&#111;nsolas color=#008000 size=2><FONT face=C&#111;nsolas color=#008000 size=2><FONT face=C&#111;nsolas color=#008000 size=2>//bool _IsApplicable = dataSourceKey.Name.StartsWith("testEntities", StringComparison.OrdinalIgnoreCase);</P></FONT></FONT></FONT><FONT face=C&#111;nsolas size=2><FONT face=C&#111;nsolas size=2><P></FONT></FONT><FONT face=C&#111;nsolas color=#008000 size=2><FONT face=C&#111;nsolas color=#008000 size=2><FONT face=C&#111;nsolas color=#008000 size=2>//return _IsApplicable;</P></FONT></FONT></FONT><FONT face=C&#111;nsolas size=2><FONT face=C&#111;nsolas size=2><P>&nbsp;</P><P></P><P>}</P></FONT></FONT></DIV><DIV>&nbsp;</DIV><DIV>My proble is with silverlight 4 which does not support reference to these DLLs System.Data; and System.Data.Common; which are used by the NumericIdGenerator class. </DIV><DIV>&nbsp;</DIV><DIV>Is there any other way of making the NumericIdGenerator class available&nbsp;on client side in silverlight without making a reference to it?<BR></DIV>]]>
   </description>
   <pubDate>Fri, 11 Jun 2010 23:40:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1878&amp;PID=7298#7298</guid>
  </item> 
  <item>
   <title>NumericIdGenerator : Can you show me the code for the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1878&amp;PID=7282#7282</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=4" rel="nofollow">GregD</a><br /><strong>Subject:</strong> 1878<br /><strong>Posted:</strong> 11-Jun-2010 at 10:59am<br /><br />Can you show me the code for the IsApplicable method in your NumericIdGenerator class?]]>
   </description>
   <pubDate>Fri, 11 Jun 2010 10:59:20 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1878&amp;PID=7282#7282</guid>
  </item> 
  <item>
   <title>NumericIdGenerator : Thank you for the reply  The...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1878&amp;PID=7266#7266</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=791" rel="nofollow">Vincent</a><br /><strong>Subject:</strong> 1878<br /><strong>Posted:</strong> 10-Jun-2010 at 8:28pm<br /><br /><DIV>Thank you for the reply</DIV><DIV>&nbsp;</DIV><DIV>The problem is, when I put a break on the Isapplicable function, and start debugging my project, the application executes the NumericIdGenerator class and the Isapplicable function returns true. But when I try to create new entity thereafter,&nbsp;&nbsp;the error comes out. </DIV><DIV>&nbsp;</DIV><DIV>So I think&nbsp;&nbsp;Isapplicable function is ok and&nbsp;yet I get the error.</DIV>]]>
   </description>
   <pubDate>Thu, 10 Jun 2010 20:28:15 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1878&amp;PID=7266#7266</guid>
  </item> 
  <item>
   <title>NumericIdGenerator : Check the IsApplicable() method...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1878&amp;PID=7259#7259</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=4" rel="nofollow">GregD</a><br /><strong>Subject:</strong> 1878<br /><strong>Posted:</strong> 10-Jun-2010 at 4:15pm<br /><br />Check the IsApplicable() method in NumericIdGenerator. The sample in the LearningResources returns false unless the DatasourceKey starts with "IdeaBladeTest1", which I'm guessing yours doesn't.  8-)<br /><br />Just set it to return true, unconditionally, and your sample will probably start working.]]>
   </description>
   <pubDate>Thu, 10 Jun 2010 16:15:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1878&amp;PID=7259#7259</guid>
  </item> 
  <item>
   <title>NumericIdGenerator : Hi everybody  I am trying to...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1878&amp;PID=7244#7244</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=791" rel="nofollow">Vincent</a><br /><strong>Subject:</strong> 1878<br /><strong>Posted:</strong> 10-Jun-2010 at 6:51am<br /><br />Hi everybody<DIV>&nbsp;</DIV><DIV>I am trying to generate id before saving using NumericIdGenerator class which I added into my silverlight 4 web project but every time I try to create a new entity it fires the following error below</DIV><DIV>&nbsp;</DIV><P =Ms&#111;normal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>No class implementing IdeaBlade.EntityModel.IIdGenerator was found. If you have implemented this interface, be sure to decorate the class with an Export(typeof(IIdGenerator)) attribute. Also check the IsApplicable(IDataSourceKey) method in your implementation to ensure that it is filtering correctly.</P><DIV></DIV><P>Can anybody with solution to the problem or know how to use NumericIdGenerator class&nbsp; help me.</P><DIV></DIV><DIV></DIV>Thank you</FONT>]]>
   </description>
   <pubDate>Thu, 10 Jun 2010 06:51:51 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1878&amp;PID=7244#7244</guid>
  </item> 
 </channel>
</rss>