Public Class Bo Friend Class Parent
Private myValue as Integer Friend Property myValue as Integer Get Return myValue Set (Value as Integer) myValue = Value End Property End Class End Class intX = Bo.Parent.myValue -----Original Message----- From: John Lomnicki [mailto:[EMAIL PROTECTED] Sent: Thursday, June 10, 2004 1:40 PM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] HowTo Define a Business Objects Parent Property I want to develop business objects so we can reference a .Parent property. I would really like my business object to be able to call something like: int x = bo.Parent.myValue How would I code my business object to reference the parent object? Many Thanks, John Lomnicki =================================== This list is hosted by DevelopMentor(r) http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com =================================== This list is hosted by DevelopMentorŪ http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com