<?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 : Enumeration Classes</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Enumeration Classes</description>
  <pubDate>Sat, 11 Apr 2026 22:11:46 -700</pubDate>
  <lastBuildDate>Thu, 30 Oct 2008 04:40:34 -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=980</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>Enumeration Classes : Thanks Jeff,  That&amp;#039;s exactly...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=980&amp;PID=3548#3548</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=38" rel="nofollow">rclarke</a><br /><strong>Subject:</strong> 980<br /><strong>Posted:</strong> 30-Oct-2008 at 4:40am<br /><br />Thanks Jeff,<DIV>&nbsp;</DIV><DIV>That's exactly what I planed to do and now you have given me a template to use. Great!</DIV>]]>
   </description>
   <pubDate>Thu, 30 Oct 2008 04:40:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=980&amp;PID=3548#3548</guid>
  </item> 
  <item>
   <title>Enumeration Classes : Can you temporarily create the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=980&amp;PID=3547#3547</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=34" rel="nofollow">jeffdoolittle</a><br /><strong>Subject:</strong> 980<br /><strong>Posted:</strong> 29-Oct-2008 at 9:10pm<br /><br />Can you temporarily create the enumeration manually?&nbsp; Here's an example against a "Category" entity class that is backed by the NorthwindIB.Category table:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static Category Beverages() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return Beverages(DomainModelEntityManager.DefaultManager);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static Category Beverages(EntityManager em) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return GetCategoryByName(em, "Beverages");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static Category Condiments() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return Condiments(DomainModelEntityManager.DefaultManager);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static Category Condiments(EntityManager em) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return GetCategoryByName(em, "Condiments");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static Category Produce() {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return Produce(DomainModelEntityManager.DefaultManager);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public static Category Produce(EntityManager em) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return GetCategoryByName(em, "Produce");<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; private static Category GetCategoryByName(EntityManager em, string categoryName) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; var query = new EntityQuery&lt;Category&gt;("Categories", em);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return query.Where(c =&gt; c.CategoryName == categoryName).FirstOrNullEntity();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br></pre></td></tr></table><br>]]>
   </description>
   <pubDate>Wed, 29 Oct 2008 21:10:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=980&amp;PID=3547#3547</guid>
  </item> 
  <item>
   <title>Enumeration Classes : Enumeration classes are not currently...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=980&amp;PID=3546#3546</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> 980<br /><strong>Posted:</strong> 29-Oct-2008 at 12:04pm<br /><br />Enumeration classes are not currently supported in DevForce EF.&nbsp; We've got this on our feature list, but don't have it scheduled yet.]]>
   </description>
   <pubDate>Wed, 29 Oct 2008 12:04:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=980&amp;PID=3546#3546</guid>
  </item> 
  <item>
   <title>Enumeration Classes : I&amp;#039;m in the process of moving...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=980&amp;PID=3542#3542</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=38" rel="nofollow">rclarke</a><br /><strong>Subject:</strong> 980<br /><strong>Posted:</strong> 29-Oct-2008 at 5:40am<br /><br />I'm in the process of moving a DevForce Classic application to DevForce EF. In the application I make use of Enumeration Classes which were supported and generated with the Classic Object Mapper. I see no equivilent in DevForce EF Object Mapper and no mention of Enumeration Classes in the EF Developer's Guide. Are they gone?&nbsp;]]>
   </description>
   <pubDate>Wed, 29 Oct 2008 05:40:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=980&amp;PID=3542#3542</guid>
  </item> 
 </channel>
</rss>