﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Enhancement Requests  » Support to create inheritance layer for BO's</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 05:49:23 GMT</lastBuildDate><ttl>20</ttl><item><title>Support to create inheritance layer for BO's</title><link>http://forum.strataframe.net/FindPost7031.aspx</link><description>I'd like to extend the Business Object Inheritance Layer and addfew simple services like FillAll ( Which loads all records ), auditing services , optional serialization service , and extended Defaults Service.&amp;nbsp; I'd have to go into each Business Object and change the inheritance from &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;FONT color=#0000ff size=2&gt;Public&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Class&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; SystemProgram&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Inherits&lt;/FONT&gt;&lt;FONT size=2&gt; MicroFour.StrataFrame.Business.BusinessLayer&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;To&lt;/FONT&gt;&lt;/P&gt;&lt;FONT size=2&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;Public&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Class&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; SystemProgram&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Inherits&lt;/FONT&gt;&lt;FONT size=2&gt; {AppName}.Business.BusinessLayer.Extended&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;Is there a way to do this right now?&amp;nbsp; I realize that I can go into each object and change the it there, but I thought that a setting might exist to allow the optional selection of the business layer to be used.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;Richard&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&amp;nbsp;&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Thu, 22 Feb 2007 09:05:40 GMT</pubDate><dc:creator>Richard Keller</dc:creator></item><item><title>RE: Support to create inheritance layer for BO's</title><link>http://forum.strataframe.net/FindPost7111.aspx</link><description>Thanks for posting that link... it gives people a place to go.&amp;nbsp; And once you get the template created, you can modify the .vstemplate file and the corresponding code files within the .zip file that is created.&amp;nbsp; Most of the tags within the .vstemplate file are pretty self-explanatory.</description><pubDate>Thu, 22 Feb 2007 09:05:40 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Support to create inheritance layer for BO's</title><link>http://forum.strataframe.net/FindPost7099.aspx</link><description>Thanks for the Template Idea, that worked out perfect.&amp;nbsp;&amp;nbsp; For Anyone who would like instructions on how to build a template.&lt;/P&gt;&lt;P&gt;&lt;A href="http://msdn.microsoft.com/msdnmag/issues/06/01/CodeTemplates/default.aspx"&gt;http://msdn.microsoft.com/msdnmag/issues/06/01/CodeTemplates/default.aspx&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;That is the easiest thing I have ever done.&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;Richard</description><pubDate>Wed, 21 Feb 2007 19:25:44 GMT</pubDate><dc:creator>Richard Keller</dc:creator></item><item><title>RE: Support to create inheritance layer for BO's</title><link>http://forum.strataframe.net/FindPost7051.aspx</link><description>You only have to change it once.&amp;nbsp; If you'l notice, the inerhits command is in the main BO file not the partial that is generated through the BO mapper.&amp;nbsp; So you only have to change the inherited tag once when the BO is created.&amp;nbsp; You could also create your own template that has the BO inheriting your BO class so you do not have to change this when you create the BO.&amp;nbsp; But in either case, the BO mapper will not overwrite the inherited statement since the inherited statement is not in the partial class.</description><pubDate>Wed, 21 Feb 2007 09:42:44 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>