Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking for child record before saving parent
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Checking for child record before saving parent
Versions des environnements
Environment:
C# 4.0
OS:
Windows Server 2003
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01522124
Message ID:
01522124
Vues:
80
I have a tool rental system for which I would like to avoid saving the main issue ticket until I am sure that I have at least one valid detail row. Of course, I don't want to save the detail row without a valid ticket either. I thought I could do that by making the detail row a child of the ticket but the parent rules are validated before checking the child records. Is this possible? If so, where do I put the check for existing child records? Thanks.
Linda Harmes
HiBit Technologies, Inc.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform