Information générale
Catégorie:
The Mere Mortals .NET Framework
Hi kevin,
Thank you for your answer.
1. Yes, our system have primary keys for every table in the database.
2. For the second question, we try to prevent our application from deleting a record if the record is referenced in other child table. For example, there 2 tables, customer and order. Customer table is the parent table. Order table is child table. The relationship is one to many, which means customer can have many orders. If a customer has order record in order table, our application will prevent user from deleting this record. We can do this by using cascade DELETEs or UPDATEs in database. Does MM.Net provide better way of handling this scenario?
Best Regards,
Wang Tong Yin
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement