Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I reference a BizOject’s child BizObject?
Message
From
11/08/2003 13:29:54
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00818503
Message ID:
00819035
Views:
11
Yipe! ...and I thought C# was verbose. Thanks, Cathi.
---J

>Jason and Brian,
>
>Thanks Jason for catching this. You do need to cast the HostObject to the parent Business Object. However, the translated code to VB will not work due to syntax differences in the language. Here is the translated code that "should" work:
>
>
>Dim loClient as Client
>
>loClient = CType(Me.HostObject, Client)
>
>Dim oBizObj As MyChildBizObj = CType(loClient.RefBizObj.Get(GetType(MyChildBizObj)), MyChildBizObj)
>
Previous
Reply
Map
View

Click here to load this message in the networking platform