Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Object in n-tier
Message
De
14/10/2000 22:51:29
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Business Object in n-tier
Divers
Thread ID:
00429568
Message ID:
00429568
Vues:
45
Hi,
I am researching about the methodolofgy of building N-Tier client server system.
I would like to ask that:

1. Where should I place the code of enforce the integrity between 2 or more tables? e.g., If I have one-many relationship tables. Once user need to delete the master record, I need to check the any exisiting child records related to the master. I should call the function (check integrity) in my Master object (e.g. customer), a new object (e.g. customerBooking), call it directly in User sevice, place it as stored procedure or define the integrity in DBMS and trap the error ??

2. How about insert function as the situation above?

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...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform