Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DeleteEntity
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Divers
Thread ID:
01502954
Message ID:
01502967
Vues:
47
Robert,

>I have an entity list with N entities in it. I'm looping through the entity list to determine if the current entity should be deleted or not. If the current entity should be deleted I call the ENTITY.DeleteEntity(EntityToBeDeleted) to delete that entity, but it seems to always delete the last entity and not the enitty that is passed.
>
>Tooltip says that it deletes the specified entity. Why is it not deleting the passed in entity, but the last entity in the last everytime?

Are you using Entity Framework or "classic" MM .NET entities? What version of MM .NET are you using?

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