﻿<?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?)  » Problem setting parent business object</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 17:46:37 GMT</lastBuildDate><ttl>20</ttl><item><title>Problem setting parent business object</title><link>http://forum.strataframe.net/FindPost2557.aspx</link><description>I created a class library with two business objects (OrderHeader and OrderDetail) so I can reuse in multiple projects.&amp;nbsp; I set the ParentRelationship field on the OrderDetail business object and built the project.&lt;/P&gt;&lt;P&gt;My Winform application references the business object library and&amp;nbsp;I have dragged the two business object components onto the form. Now I trying to set the ParentBusinessObject property on the OrderDetail business object and I receive a message 'A parent relationship must first be setup before a parent business object can be selected.'&amp;nbsp; &lt;/P&gt;&lt;P&gt;Am I missing something?</description><pubDate>Thu, 31 Aug 2006 00:21:35 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: Problem setting parent business object</title><link>http://forum.strataframe.net/FindPost2570.aspx</link><description>Ah, yes, there is a difference between the templates in the assemblies that are referenced by default.&amp;nbsp; I'm glad you got it working :)</description><pubDate>Thu, 31 Aug 2006 00:21:35 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Problem setting parent business object</title><link>http://forum.strataframe.net/FindPost2569.aspx</link><description>Sorry, my mistake.&amp;nbsp; When I created the business object library, I used the standard vb.net class library template instead of the StrataFrame Business Object Library template.&amp;nbsp; I recreated and it works fine now.</description><pubDate>Wed, 30 Aug 2006 21:05:17 GMT</pubDate><dc:creator>Tim Dol</dc:creator></item><item><title>RE: Problem setting parent business object</title><link>http://forum.strataframe.net/FindPost2560.aspx</link><description>No, you're probably not missing anything other than Visual Studio might be hanging on to an old assembly reference.&amp;nbsp; If you build your solution and then restart Visual Studio and you're still getting that message, make sure you didn't put the "parent" relationship on the wrong business object.</description><pubDate>Wed, 30 Aug 2006 18:09:22 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>