﻿<?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 » Business Objects and Data Access (How do I?)  » Setting up class inheritance layers for StrataFrame classes</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 10:27:00 GMT</lastBuildDate><ttl>20</ttl><item><title>Setting up class inheritance layers for StrataFrame classes</title><link>http://forum.strataframe.net/FindPost11637.aspx</link><description>When using VFP I've made it a practice to use two layers of inheritance for a purchased classes.&amp;nbsp; An intermediate, shared among several projects and one specific to a project.&amp;nbsp; The purchased classes are never changed, so updates are easy.&amp;nbsp; &lt;/P&gt;&lt;P&gt;While there are issues that must be addressed with compund objects, the practice has proven effective and I'd like to continue it with Strataframe.&amp;nbsp;&amp;nbsp;What is the best way to go about it?&amp;nbsp; If&amp;nbsp;someone can offer actual examples I would appreciate them very much.&lt;/P&gt;&lt;P&gt;TIA,&lt;/P&gt;&lt;P&gt;Alex</description><pubDate>Wed, 26 Sep 2007 09:23:20 GMT</pubDate><dc:creator>AlexSosa</dc:creator></item><item><title>RE: Setting up class inheritance layers for StrataFrame classes</title><link>http://forum.strataframe.net/FindPost11702.aspx</link><description>Aye, the templates are simply starting points that give you a few objects already dropped on the form for you to use.&amp;nbsp; You can create your own templates and place them in %My Documents\Visual Studio 2005\Templates\ItemTemplates\.&amp;nbsp; You can find lots of articles detailing how to create and modify templates by searching google for Visual Studio 2005 templates.&amp;nbsp; So, yes, you would create a company-wide solution that would contain the projects that define the first level of inheritance, and then you create application-specific projects that define the second level of inheritance.&amp;nbsp;</description><pubDate>Wed, 26 Sep 2007 09:23:20 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Setting up class inheritance layers for StrataFrame classes</title><link>http://forum.strataframe.net/FindPost11687.aspx</link><description>Hi Ben,&lt;P&gt;Is that all there is?&amp;nbsp; (Ignorance is NOT bliss).&lt;/P&gt;&lt;P&gt;If I understand correctly, the two layers of inheritance you&amp;nbsp;suggested can be implemented like this: Create a Solution that produces a couple of DLLs with the first level of inheritance.&amp;nbsp; Then, in&amp;nbsp;the Application Solution&amp;nbsp;include a couple of projects that define the second level of inheritance (DLLs) which are in turn the ones used by the apllication itself.&lt;/P&gt;&lt;P&gt;While we are talking about this, I am not sure if&amp;nbsp;the&amp;nbsp;"Templates" that one uses to create items to add to a project, for example "SF Maintenence Form", are classes that you can later modify and cause all modifications to be inherited by&amp;nbsp;items based on the "template"&amp;nbsp;(as it would be the case with&amp;nbsp;VFP classes), or real templates that are simply copied and become starting points for you to modify.&amp;nbsp; Can you clarify this point, please?&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;[quote]I am not sure what you are asking for here.&amp;nbsp; Are you referring to the inherited business layer and UI controls?&amp;nbsp; If so, this would be what you would create on your side:&lt;/P&gt;&lt;P&gt;[codesnippet]Public Class MyInheritedTextBox&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inherits MicroFour.StrataFrame.UI.WIndows.Forms.Textbox&lt;/P&gt;&lt;P&gt;End Class[/codesnippet][/quote]</description><pubDate>Tue, 25 Sep 2007 14:24:40 GMT</pubDate><dc:creator>AlexSosa</dc:creator></item><item><title>RE: Setting up class inheritance layers for StrataFrame classes</title><link>http://forum.strataframe.net/FindPost11663.aspx</link><description>[quote]Is it too much to ask you to&amp;nbsp;share the source of those (unchaged) inheriting DLLs?[/quote]&lt;/P&gt;&lt;P&gt;I am not sure what you are asking for here.&amp;nbsp; Are you referring to the inherited business layer and UI controls?&amp;nbsp; If so, this would be what you would create on your side:&lt;/P&gt;&lt;P&gt;[codesnippet]Public Class MyInheritedTextBox&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Inherits MicroFour.StrataFrame.UI.WIndows.Forms.Textbox&lt;/P&gt;&lt;P&gt;End Class[/codesnippet]</description><pubDate>Mon, 24 Sep 2007 21:04:04 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Setting up class inheritance layers for StrataFrame classes</title><link>http://forum.strataframe.net/FindPost11657.aspx</link><description>Thank you, Ben, sounds reasonable.&lt;P&gt;From what you say you only subclass the Business and UI DLLs.&amp;nbsp; Is it too much to ask you to&amp;nbsp;share the source of those (unchaged) inheriting DLLs?&amp;nbsp; At this stage I still suffer form "lack of ignorance"&amp;nbsp;about ,NET :)&lt;/P&gt;&lt;P&gt;That would be much appreciated.&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;&lt;P&gt;[quote][b]Ben Chase (09/24/2007)[/b][hr]Your best bet would be to create a core DLL that inherits the 3rd party classes.&amp;nbsp; Then, create a project-specific DLL that inherits them again.&amp;nbsp; There's not much more to it than that. :)&amp;nbsp; We do the same thing.&amp;nbsp; Every project has its own Business and UI DLL that contain the inherited classes.[/quote]</description><pubDate>Mon, 24 Sep 2007 15:24:13 GMT</pubDate><dc:creator>AlexSosa</dc:creator></item><item><title>RE: Setting up class inheritance layers for StrataFrame classes</title><link>http://forum.strataframe.net/FindPost11647.aspx</link><description>Your best bet would be to create a core DLL that inherits the 3rd party classes.&amp;nbsp; Then, create a project-specific DLL that inherits them again.&amp;nbsp; There's not much more to it than that. :)&amp;nbsp; We do the same thing.&amp;nbsp; Every project has its own Business and UI DLL that contain the inherited classes.</description><pubDate>Mon, 24 Sep 2007 09:01:22 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>