Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trying my darndest to understand the business object model
Message
From
08/12/2006 17:14:01
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Trying my darndest to understand the business object model
Miscellaneous
Thread ID:
01176280
Message ID:
01176280
Views:
72
As the Title says, at the risk of sounding like a real dope, I don't understand what's happening with the business object.

Here's what I've done so far:

I generated the business objects via the MM .NET Business Layer Generator tool, one set of objects, (business object, entity, rules) for each table that I need data from or need to make changes to.

I created the first set of business objects for the first table, INVENTORYBALANCE, in the mmMainAppForm New subroutine (Using vb.net), just to try to understand what's happening and where my data is:
InvBal = new INVENTORYBALANCE (the business object)
InvBal.GetAllData()

I put a breakpoint right after the GetAllData() and looked around at what I've got.

I see that InvBal seems to have the first row of the table (very nice) and InvBal.Entity has properties with the values for the 2 fields I checked on for this table in the Business Layer Generator tool.

So far, really cool, I think, but what now? How do I get the next row, and the next, etc. Are they in some collection that I haven't noticed? Do I need to create another business object for the next row? Where do I go from here?

Any help really appreciated.
Next
Reply
Map
View

Click here to load this message in the networking platform