General information
Category:
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only