Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary key
Message
De
25/03/2003 09:33:44
 
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:
00769684
Vues:
24
Hi,
Thank you.
I have read the articles, but I still nto very clear about BO.
I think it is be great if there are any sample.
I used to read alot of articles about BO and data object and go thru the sample class, however all of them use simple example such as customer.
Is there any example for 1-many-relationship BO, like Invoice?

Let take invoice as my "target"
1. As you mentioned, invoice will involve customer, order details, stock. Do you meant that I will have Invoice BO, and also have property to hold the customer, order details and stock BO? Then, we could access data layer thru the BO ?

2. Should I have order details BO and data object? How invoice BO access the order details record, thru order details BO, order details data object or using view/ADO that join order and order details in invoice data object?

3. As the table structure shown in previous message, my stock control system application support multiple branches, multiple selling price for each branches. Then, I should have BO like branch, item, stock and ..?? price is a BO? I feel not, then how I able to access the items' multiple selling price since it is normalized and not stored in item table?`


Pls advise
Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform