<?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 Gen Issue - EntityPropertyNames</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : Code Gen Issue - EntityPropertyNames</description>
  <pubDate>Sat, 11 Apr 2026 08:28:12 -700</pubDate>
  <lastBuildDate>Tue, 15 Dec 2009 05:34:39 -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=1583</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 Gen Issue - EntityPropertyNames : Thanks for the response Greg.....as...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1583&amp;PID=5936#5936</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=553" rel="nofollow">robdrye</a><br /><strong>Subject:</strong> 1583<br /><strong>Posted:</strong> 15-Dec-2009 at 5:34am<br /><br />Thanks for the response Greg.....as I was reading it I had a 'smack the palm of my hand to my forehead' moment when I realized I had overlooked inheriting from Entity in my DataEntityBase class!&nbsp; That was my issue all along....<DIV>&nbsp;</DIV><DIV>Thanks again for the quick response.</DIV>]]>
   </description>
   <pubDate>Tue, 15 Dec 2009 05:34:39 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1583&amp;PID=5936#5936</guid>
  </item> 
  <item>
   <title>Code Gen Issue - EntityPropertyNames : Ah, but DataEntityBase does have...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1583&amp;PID=5933#5933</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> 1583<br /><strong>Posted:</strong> 14-Dec-2009 at 4:50pm<br /><br />Ah, but DataEntityBase <EM>does </EM>have a nested EntityPropertyNames class; it's just that it gets it from Entity (which it inherits) which gets it from EntityWrapper (which Entity inherits).<DIV>&nbsp;</DIV><DIV>If you were explicitly to define an EntityPropertyNames class in DataEntityBase, then that explicitly defined class would <EM>shadow</EM> the one that DataEntityBase inherits.</DIV><DIV>&nbsp;</DIV><DIV>The idea here is that at any level in your hierarchy where you define properties, you may want also to define corresponding EntityProperyName constants; and you want anything that subclasses your class to get its set of EntityPropertyName constants as well. </DIV><DIV>&nbsp;</DIV><DIV>If you were to define some properties in your DataEntityBase class, then all types that subclass DataEntityBase would get those properties by inheritance. Similarly, if you were to define some constants in your DataEntityBase.EntityPropertyNames class, then all types that subclass DataEntityBase.EntityPropertyNames&nbsp; would get those constants by inheritance. But that would not be the case if the EntityPropertyNames class associated with your final type didn't inherit from DataEntityBase.EntityPropertyNames.</DIV>]]>
   </description>
   <pubDate>Mon, 14 Dec 2009 16:50:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1583&amp;PID=5933#5933</guid>
  </item> 
  <item>
   <title>Code Gen Issue - EntityPropertyNames : I&amp;#039;m running into an issue...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1583&amp;PID=5929#5929</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=553" rel="nofollow">robdrye</a><br /><strong>Subject:</strong> 1583<br /><strong>Posted:</strong> 12-Dec-2009 at 7:31am<br /><br /><DIV>I'm running into an issue after trying to implement an 'Injected Base Type' for an existing Entity Model.&nbsp; Following the associated code gen the entities inherit from the injected base type as expected however the EntityPropertyNames class is updated to inherit from a class that does not exist.&nbsp; For example if my injected base type is called 'DataEntityBase' the EntityPropertyNames class inheritance will change from 'IdeaBlade.EntityModel.Entity.EntityPropertyNames'&nbsp;to 'DataEntityBase.EntityPropertyNames'.&nbsp; </DIV><DIV>&nbsp;</DIV><DIV>I'm on v5.2.3.1.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 12 Dec 2009 07:31:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1583&amp;PID=5929#5929</guid>
  </item> 
 </channel>
</rss>