<?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 : Inheritance issue in DevForce</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Inheritance issue in DevForce</description>
  <pubDate>Sun, 12 Apr 2026 05:02:43 -700</pubDate>
  <lastBuildDate>Mon, 16 Jul 2007 14:58:46 -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=296</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>Inheritance issue in DevForce : I have attachedan .orm file containing...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=296&amp;PID=664#664</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=21" rel="nofollow">IdeaBlade</a><br /><strong>Subject:</strong> 296<br /><strong>Posted:</strong> 16-Jul-2007 at 2:58pm<br /><br />I have attached&nbsp;an .orm file containing similar inheritance hierarchy based on IdeaBladeTutorial where:<P =Ms&#111;normal>Employee -&gt; EmployeeBase -&gt; CrtnMod</P><DIV>And having reviewed your own .orm file I have the following advice:</DIV><P =Ms&#111;normal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">In the <?:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:place w:st="&#111;n">OM</st1:place>, I went to the Anatomy class, changed the Base Class to “None”, clicked onto another field to accept the change. Then went to Base Class and reassigned the RTObjectEntityBase. Then when I clicked on the Simple Properties tab the RowVers now displays it is inherited.<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Very strange … but that should fix up your .orm file. I don’t think (???) the above will have any impact on your existing set of classes other than removing that compilation warning.<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Not sure what might have caused that to happen.<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal>&nbsp;</P>]]>
   </description>
   <pubDate>Mon, 16 Jul 2007 14:58:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=296&amp;PID=664#664</guid>
  </item> 
  <item>
   <title>Inheritance issue in DevForce : I recently tried adding an inherited...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=296&amp;PID=663#663</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=20" rel="nofollow">Customer</a><br /><strong>Subject:</strong> 296<br /><strong>Posted:</strong> 16-Jul-2007 at 2:57pm<br /><br /><P>I &nbsp;recently tried adding an inherited class into our inheritance hierarchy of Entities.&nbsp; Previously we had this:<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">VersionClassDataRow – which declares column “RowVers” for concurrency<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">VersionClass – which has some functionality on RowVers<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">AnatomyDataRow (just as an example)<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Anatomy<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">This changed to this:</SPAN></FONT><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">VersionClassDataRow – which declares row “RowVers” for concurrency<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">VersionClass<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><B><FONT face=Arial size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">RTObjectEntityBaseDataRow<o:p></o:p></SPAN></FONT></B></P><P =Ms&#111;normal><B><FONT face=Arial size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">RTObjectEntityBase – which has some additional functionality for my project, but no new columns<o:p></o:p></SPAN></FONT></B></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">AnatomyDataRow<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Anatomy</SPAN></FONT><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Now when I look at RTObjectEntity, it says RowVers is inherited, but when I look at Anatomy, it no longer says that RowVers is inherited.&nbsp; I get compiler warnings about this, and I can’t make DevForce understand that it should inherit the RowVers still.&nbsp; It’s like the ORM tool is only looking one inheritance level up to determine this information.<o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Is this a DevForce bug?&nbsp; I don’t see any immediate impact (my unit tests for Anatomy still SEEM to function properly) but I’m concerned that this is not how it should work.</SPAN></FONT></P><P =Ms&#111;normal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT>&nbsp;<BR></P>]]>
   </description>
   <pubDate>Mon, 16 Jul 2007 14:57:03 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=296&amp;PID=663#663</guid>
  </item> 
 </channel>
</rss>