Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary key
Message
 
À
23/03/2003 09:31:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00766466
Message ID:
00769076
Vues:
22
John,

If you end up with a business object for every table then something is worng. Business objects are dictated by the analysis of the business. Tables are a result of designing a database for relational data storage.

In short your business objects should relate to the things that the business deals with. For example you might have an Invoice business object that gets its data from the InvoiceHeader, InvoiceDetail, Inventory, and customer tables. The idea is that the Invoice business poject presetnst the concept of an Invoice when, in fact, the data is NOT stored that way. The business object is a bridge between the interface that has an Invoice entry form and Invoice reports and the data which stores invoice information in a relational fashion in the InvoiceHeader, InvoiceDetail, Inventory anmd cusotmer tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform