Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DeleteEntity
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Miscellaneous
Thread ID:
01502954
Message ID:
01502967
Views:
46
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform