Clear on a EntityCollection does not use the RemovedEntitiesTracker

Posts   
 
    
sprost
User
Posts: 3
Joined: 20-Mar-2014
# Posted on: 22-Mar-2018 15:21:56   

It seems that Collection.Remove(item) will add item to the RemovedEntitiesTracker, and the Collection.Clear(); does not.

Is this by design? Can I change this?

Thanks, Sander

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 22-Mar-2018 15:24:00   

Please give more info, what version are you using? etc. You did set the tracker property to an instance of a collection?

https://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=7722

Also this had little to do with linq so I moved it to a more appropriate forum.

Frans Bouma | Lead developer LLBLGen Pro