Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting child entities inside parent / child relationsh
Message
 
À
30/06/2008 17:26:42
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01327749
Message ID:
01328055
Vues:
9
Tim,

>I am having problems figuring out deleting entities from a child list with parent. I have tried this using the Order - Order Details objects from the Jump Start.

You shouldn't use RemoveAt() to delete an entity--it's a general-purpose .NET Framework method associated with collections. Instead, you should use the DeleteEntity() method of the business object which deletes the specified entity and removes it from the EntityList for you.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform