Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Child - > Parent
Message
De
05/11/2008 17:00:49
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
05/11/2008 16:13:22
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01359971
Message ID:
01359984
Vues:
20
>Hi All,
>
>
>Is there a way for the parent to know the child object has changed?
>
>Like these properties AutoSaveOnParentSaved, AutoCancelOnParentCancel, AutoDeleteOnParentDeleted , AutoEmptyOnParentAdded inform the child that these actions have taken place.
>
>
>Thanks,
>Amruta


Well, you could turn the relation around if the situation would warrant it. For instance a customer is typically the parent and the orders are typically the child in the relationship. But if you are operating on an order you could create the customer as the child so it can respond to changes to the order.
Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform