|
-
January 23rd, 2010, 02:36 PM
#2
Re: Help instantiating objects embedded in object
How are the following defined?
WQS_BusinessEntity.Head
WQS_BusinessEntity.Shell
I suspect you defined these with some type of list inheritance, which is causing the output to display COUNT. I do not see that you actually add any items to the head/shell lists, just assign values to the other properties. So in that regard, it will always display COUNT=0, but if you expand the node in your watch, I bet it shows values for the other properties (assuming there are values).
For example: iHeadID, iVesselID, etc.
Good Luck,
Craig - CRG IT Solutions - Microsoft Gold Partner
-My posts after 08/2015 = .NET 4.x and Visual Studio 2015
-My posts after 11/2011 = .NET 4.x and Visual Studio 2012
-My posts after 02/2010 = .NET 4.0 and Visual Studio 2010
-My posts after 12/2007 = .NET 3.5 and Visual Studio 2008
-My posts after 04/2007 = .NET 3.0 and Visual Studio 2005
-My posts before 04/2007 = .NET 1.1/2.0
*I do not follow all threads, so if you have a secondary question, message me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|