I use an entity view collection with a filter to display and edit data from two tables. I want to add a "refresh" button, which reloads the whole collection. This ist what I found out:
1) I could set my entity collection to null and use the GetMulti(...) command again. But then i have an already loaded entity structure waiting in memory for the grabage collector to come.
2) If i understand correctly, the entity view collections don't come with data. They show a display of data stored in entities of the related tables. If i set the "alwayLoad"-Property of those entities to true, every GetMulti() would force a reload from the db.
But how can that be? I added the entity "mapped on a view" in the designer, so there are no entity classes of any table available, whose properties i could set.
I just wondered if there is a simple way, say, using a "ReFetch()" or something. But i couldn't find one, so: What is the "best practice" for this?
Thanks in advance!