<?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 : Implementing Funhouse-Style BaseEntity Inheritance in Your Application</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Implementing Funhouse-Style BaseEntity Inheritance in Your Application</description>
  <pubDate>Tue, 14 Apr 2026 16:13:12 -700</pubDate>
  <lastBuildDate>Wed, 06 Jun 2007 17:16:11 -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=77</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>Implementing Funhouse-Style BaseEntity Inheritance in Your Application : Answer: 1. You&amp;#039;ll create...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=77&amp;PID=158#158</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> 77<br /><strong>Posted:</strong> 06-Jun-2007 at 5:16pm<br /><br /><P =Questi&#111;n style="MARGIN: 0in 0in 0pt"><strong><EM><FONT face="Times New Roman" size=3>Answer:</FONT></EM></strong></P><P =Ms&#111;normal style="MARGIN: 8pt 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"><FONT face="Times New Roman"><SPAN style="mso-list: Ignore"><FONT size=2>1.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="COLOR: blue"><FONT size=2>You'll create (or copy) CommonEntity.cs manually.&nbsp; You'll create BaseEntity with the <?:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:place w:st="&#111;n">OM</st1:place> tool.&nbsp; You'll manually change the inheritance to inherit from CommonEntity.</FONT></SPAN></FONT></P><P =Ms&#111;normal style="MARGIN: 8pt 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"><FONT face="Times New Roman"><SPAN style="mso-list: Ignore"><FONT size=2>2.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="COLOR: blue"><FONT size=2>I am not sure about this one.</FONT></SPAN></FONT></P><P =Ms&#111;normal style="MARGIN: 8pt 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in"><FONT face="Times New Roman"><SPAN style="mso-list: Ignore"><FONT size=2>3.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="COLOR: blue"><FONT size=2>A CommonEntityDataRow.cs is not required.&nbsp; We just used it to show that it could be done.</FONT></SPAN></FONT></P><P =Ms&#111;normal style="MARGIN: 8pt 0in 0pt"><SPAN style="COLOR: blue"><FONT size=2><FONT face="Times New Roman">Here is some additional information for you on the questions that you asked in September.&nbsp; One of the engineers on our team, Jason Kwan,&nbsp;wrote a demo app that shows how to use Abstract class BaseEntity and a separate CommonEntity class that BaseEntity inherits from.&nbsp; So CommonEntity can provide common functions that all inherited objects can use to perform common task.&nbsp; In this case, we simply modified Model’s business object id to a different Common ID.&nbsp; Similar functionality can also be provided through the Abstract Class BaseEntity – BaseID.<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></SPAN></P>]]>
   </description>
   <pubDate>Wed, 06 Jun 2007 17:16:11 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=77&amp;PID=158#158</guid>
  </item> 
  <item>
   <title>Implementing Funhouse-Style BaseEntity Inheritance in Your Application : Question:  Questions about Funhouse: 1....</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=77&amp;PID=157#157</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> 77<br /><strong>Posted:</strong> 06-Jun-2007 at 5:14pm<br /><br /><P style="MARGIN: 0in 0in 0pt" ="Questi&#111;n"><strong><EM><FONT face="Times New Roman" size=3>Question: </FONT></EM></strong></P><P style="MARGIN: 8pt 0in 0pt" ="Ms&#111;normal"><FONT face="Times New Roman" size=2>Questions about Funhouse:</FONT></P><P style="MARGIN: 8pt 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in" ="Ms&#111;normal"><FONT face="Times New Roman"><SPAN style="mso-list: Ignore"><FONT size=2>1.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><FONT size=2>Do I have to create then CommonEntity.cs manually? and then create BaseEntity.cs with the tool and manually inherit from CommonEntity?</FONT></FONT></P><P style="MARGIN: 8pt 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in" ="Ms&#111;normal"><FONT face="Times New Roman"><SPAN style="mso-list: Ignore"><FONT size=2>2.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><FONT size=2>Will be the tool smart enough to preserve my changes (inheritance ) the next time when I generate the clases again?</FONT></FONT></P><P style="MARGIN: 8pt 0in 0pt 0.25in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1; tab-stops: list .25in" ="Ms&#111;normal"><FONT face="Times New Roman"><SPAN style="mso-list: Ignore"><FONT size=2>3.</FONT><SPAN style="FONT: 7pt 'Times New Roman'">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></SPAN><FONT size=2>How&nbsp;do &nbsp;I create CommonEntityDataRow.cs ? manually </FONT></FONT></P><span style="font-size:10px"><br /><br />Edited by Customer - 06-Jun-2007 at 5:15pm</span>]]>
   </description>
   <pubDate>Wed, 06 Jun 2007 17:14:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=77&amp;PID=157#157</guid>
  </item> 
 </channel>
</rss>