ParentRelationship


Author
Message
Trevor Hendricks
Trevor Hendricks
StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)
Group: StrataFrame Users
Posts: 13, Visits: 477
Hi All,

I am trying to set up a ParentRelationship between bo's as in the documentation.

I have all my bo's set up but i do not get the "ParentRelationship" as a property when in the designer.

All my bo's are subclassed from a basebo which in turn inherits from MicroFour.StrataFrame.Business.BusinessLayer

I noticed that my basebo class does have this property. What do i need to do to make this visible in the other bo's ?

Thanks

Trevor

using VS2010,C#
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Trevor.

The ParentRelationship property will only be visible at the BO definition. Once you drop it on a form, you will only set the ParentBusinessObject that should be of the type of the Parent BO you defined originally.
Edited 12 Years Ago by Ivan George Borges
Trevor Hendricks
Trevor Hendricks
StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)
Group: StrataFrame Users
Posts: 13, Visits: 477
Hi Ivan,

that's the problem. The documentation says to set it in the component designer but it doesn't appear in the subclassed bo's only the basebo.
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Oh, OK. Got it.

I don't know how you are creating your Base BO and then inheriting from it, but here is a link with a sample, see if it helps:

http://forum.strataframe.net/FindPost27794.aspx
Trevor Hendricks
Trevor Hendricks
StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)StrataFrame Beginner (33 reputation)
Group: StrataFrame Users
Posts: 13, Visits: 477
Hi Ivan,

I found the problem (combination of fat fingers and intellisense).

Thanks,

Trevor
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
You're welcome, Trevor. Glad you got it working.Cool
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search