﻿<?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 » Issues  » Parent Object</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 09 Sep 2026 13:35:25 GMT</lastBuildDate><ttl>20</ttl><item><title>Parent Object</title><link>http://forum.strataframe.net/FindPost325.aspx</link><description>In a form, when trying to set the parent of a child object I get the error in Set Parent (attached). When I follow its instructions and go to the designer of the Child Object and attempt to set the parent I get the error in (Cannot Set Parent.&lt;br&gt;
&lt;br&gt;
How do I get out of this loop?</description><pubDate>Fri, 16 Dec 2005 07:58:35 GMT</pubDate><dc:creator>Daniel Essin</dc:creator></item><item><title>RE: Parent Object</title><link>http://forum.strataframe.net/FindPost340.aspx</link><description>I see.</description><pubDate>Fri, 16 Dec 2005 07:58:35 GMT</pubDate><dc:creator>Daniel Essin</dc:creator></item><item><title>RE: Parent Object</title><link>http://forum.strataframe.net/FindPost337.aspx</link><description>Ah, there are two properties:  ParentBusinessObject and ParentRelationship.  The ParentRelationship is configured at the class level through the component designer.  Once you have set the ParentRelationshp property, you go to the individual instance of the child business object you want to set the parent on, and there, you set the ParentBusinessObject.  The two properties work closely together, one to define the relationship, one to set the actual instance that is the parent.</description><pubDate>Thu, 15 Dec 2005 17:13:35 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Parent Object</title><link>http://forum.strataframe.net/FindPost336.aspx</link><description>I'm confused. The first error was the result of trying to "configure the parent relationship a single time in the component designer for the business object (at the class level)". I was not trying to set to an instance, nor did I even get the chance. The error appeared the instant that I clicked on the dropdown error at the right side of the ParentBusinessObject. It says "You cannot set the ParentBusinessObject property within the component designer for a business object".&lt;br&gt;
&lt;br&gt;
I got the second error because the first operation, which I think is what you just said I should do, was not allowed.&lt;br&gt;
&lt;br&gt;
Rebuilding and closing/opening have had no effect on these errors.&lt;br&gt;
&lt;br&gt;
There must be some fundamental point that I do not understand.</description><pubDate>Thu, 15 Dec 2005 16:05:48 GMT</pubDate><dc:creator>Daniel Essin</dc:creator></item><item><title>RE: Parent Object</title><link>http://forum.strataframe.net/FindPost331.aspx</link><description>The first message you are receiving because you tried to set the parent business object on another business object at the class level.  While you only have to configure the parent relationship a single time in the component designer for the business object (at the class level), the component designer's changes affect all instances of a business object, and therefore, we do not allow you to set the actual parent business object instance there.  You'll need to set the parent business object instance at the instance level of the child business object.&lt;br&gt;
&lt;br&gt;
As for the second message... if you've rebuilt your project and you are still not able to set the parent business object at the instance level, then the VSTypeResolutionService is failing because the assembly did not refresh within the DTE when you rebuilt the project.  Restarting Visual Studio will clear the AppDomain, thereby refreshing the cached assembly and will let you set the parent business object.</description><pubDate>Wed, 14 Dec 2005 23:42:35 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>