Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying my darndest to understand the business object model
Message
De
08/12/2006 17:14:01
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Trying my darndest to understand the business object model
Divers
Thread ID:
01176280
Message ID:
01176280
Vues:
73
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform