<?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 : Code Second</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Code Second</description>
  <pubDate>Sat, 11 Apr 2026 11:22:35 -700</pubDate>
  <lastBuildDate>Mon, 20 Aug 2012 13:22:21 -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=3582</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>Code Second :   Hi Von,1. The tempHire Cocktail...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3582&amp;PID=14232#14232</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 3582<br /><strong>Posted:</strong> 20-Aug-2012 at 1:22pm<br /><br />Hi Von,<div>&nbsp;</div><div>1. The tempHire Cocktail sample will give you an example of a base class. Have you taken a look at it?</div><div>&nbsp;</div><div>2. You should be able to use IDataSourceKeyResolver without problems. Please provide a small solution reproducing your issue, so we can check what's wrong.</div><div>&nbsp;</div><div>Silvio.</div><div>&nbsp;</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Mon, 20 Aug 2012 13:22:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3582&amp;PID=14232#14232</guid>
  </item> 
  <item>
   <title>Code Second : For #2, I checked this article...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3582&amp;PID=14209#14209</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1228" rel="nofollow">Vonzkie</a><br /><strong>Subject:</strong> 3582<br /><strong>Posted:</strong> 17-Aug-2012 at 12:33am<br /><br />For #2, I checked this article&nbsp;<a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/advanced-database-c&#111;nnecti&#111;ns" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/advanced-database-connections</a>&nbsp;and I didn't find a way to dynamically compose connection string like IDataSourceKeyResolver does.<div><br></div><div>Btw, I choose to use EntityManager over DBContext.</div><div><br></div><div>Can you help me on this cause IDatasourceKeyResolver is not firing anymore when I convert my model to Code First.</div><div><br></div><div>Thanks,</div><div>Von</div>]]>
   </description>
   <pubDate>Fri, 17 Aug 2012 00:33:44 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3582&amp;PID=14209#14209</guid>
  </item> 
  <item>
   <title>Code Second : Hi,I&amp;#039;m playing around with...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3582&amp;PID=14207#14207</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1228" rel="nofollow">Vonzkie</a><br /><strong>Subject:</strong> 3582<br /><strong>Posted:</strong> 16-Aug-2012 at 5:34pm<br /><br />Hi,<div><br></div><div>I'm playing around with the Code Second approach w/c is basically a Code First. :)</div><div>Now, I want to ask some questions:</div><div><br></div><div>1. How can I create a concrete base class that implements IEntity because we need to&nbsp;occasionally check EntityAspect class.</div><div>I checked the tutorial here&nbsp;<a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/code-sample-code-first-walk" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-code-first-walk</a>&nbsp;but the base class here throws a not implemented exception on the getter of the EntityAspect. Can I have real world example here? We need a base class that behaves like the Devforce Entity base class.</div><div><br></div><div>2. Is IDataSourceKeyResolver still applicable in Code First to dynamically compose connections string?</div><div>3. It seems that we have lots of breaking changes in our codes cause we're using the Devforce Entity class as the generic parameter for few repository classes. Do you have some advise on how we can easily migrate from Database First to Code First without having to completely rewrite our codes?&nbsp;</div><div>4. What are the other things that we might encounter in migrating or upgrading to Code First from Database First as far as coding is concern?</div><div><br></div><div>Thanks,</div><div>Von</div>]]>
   </description>
   <pubDate>Thu, 16 Aug 2012 17:34:23 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3582&amp;PID=14207#14207</guid>
  </item> 
 </channel>
</rss>