<?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 : Nullable Enum not supported ?</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2012 : Nullable Enum not supported ?</description>
  <pubDate>Sat, 11 Apr 2026 02:39:28 -700</pubDate>
  <lastBuildDate>Thu, 17 Jan 2013 11:45:45 -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=3897</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>Nullable Enum not supported ? : thank you, I can wait till the...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3897&amp;PID=15619#15619</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1623" rel="nofollow">kdev</a><br /><strong>Subject:</strong> 3897<br /><strong>Posted:</strong> 17-Jan-2013 at 11:45am<br /><br />thank you, I can wait till the fix]]>
   </description>
   <pubDate>Thu, 17 Jan 2013 11:45:45 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3897&amp;PID=15619#15619</guid>
  </item> 
  <item>
   <title>Nullable Enum not supported ? :   Hmm, this does look like a...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3897&amp;PID=15618#15618</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> 3897<br /><strong>Posted:</strong> 17-Jan-2013 at 11:20am<br /><br />Hmm, this does look like a DevForce bug.&nbsp; The nullable enums work from an EDMX-based model, but not in Code First.&nbsp; I can't think of a workaround, but we'll get this fixed in the next release.]]>
   </description>
   <pubDate>Thu, 17 Jan 2013 11:20:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3897&amp;PID=15618#15618</guid>
  </item> 
  <item>
   <title>Nullable Enum not supported ? : Here you go :    public enum EtatEnum { ...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3897&amp;PID=15617#15617</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1623" rel="nofollow">kdev</a><br /><strong>Subject:</strong> 3897<br /><strong>Posted:</strong> 17-Jan-2013 at 11:08am<br /><br />Here you go :<br /><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&#091;DataContract&#093;<br />&nbsp;&nbsp;&nbsp;&nbsp;public enum EtatEnum<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#091;EnumMember&#093;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Waiting=1,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#091;EnumMember&#093;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Validated = 2,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#091;EnumMember&#093;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent = 3,<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&#091;DataContract(IsReference = true)&#093;<br />&nbsp;&nbsp;&nbsp;&nbsp;public class Purchase : PurchaseBase<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#091;DataMember&#093;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public EtatEnum? Etat { get; set; }<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br />&nbsp;&nbsp;&nbsp;&nbsp;}<br /><br />]]>
   </description>
   <pubDate>Thu, 17 Jan 2013 11:08:41 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3897&amp;PID=15617#15617</guid>
  </item> 
  <item>
   <title>Nullable Enum not supported ? :   DevForce does support nullable...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3897&amp;PID=15616#15616</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> 3897<br /><strong>Posted:</strong> 17-Jan-2013 at 11:00am<br /><br />DevForce does support nullable enum properties, so I don't know what might be going wrong.&nbsp; Can you post a snippet showing your enum type and how the entity property is defined?]]>
   </description>
   <pubDate>Thu, 17 Jan 2013 11:00:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3897&amp;PID=15616#15616</guid>
  </item> 
  <item>
   <title>Nullable Enum not supported ? : Hi,With EntityFramework, I can...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3897&amp;PID=15612#15612</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1623" rel="nofollow">kdev</a><br /><strong>Subject:</strong> 3897<br /><strong>Posted:</strong> 17-Jan-2013 at 12:46am<br /><br />Hi,<div><br></div><div>With EntityFramework, I can use in code first a Nullable Enum Property. The migration works well.</div><div>With Devforce this same nullable Enum property raise an exception during the build :</div><div><br></div><div>C:\Dev\packages\IdeaBlade.DevForce.Aop.7.0.3\tools\IdeaBlade.DevForce.Common.targets(61,5): error : An error occurred during metadata generation and a metadata file could not be created. &nbsp;Error: The value cannot be null.</div><div><br></div><div>if I change to a no nullable property it works.</div><div><br></div><div>Is this a limitation of DF or a bug ? Is there a workaround ?</div>]]>
   </description>
   <pubDate>Thu, 17 Jan 2013 00:46:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3897&amp;PID=15612#15612</guid>
  </item> 
 </channel>
</rss>