Hi,
when I have an EntityCollection of records with multiple PrefetchPaths and I edit some of the objects in the prefetchpaths through databinding (or whatever) but don't edit the top level record in the main entitycollection, DirtyEntities (I think) is empty.
Is there a way to modify EntityCollection.DirtyEntities to return all the objects, which are either changed or reference objects (in PrefetchPaths) that are changed?
I guess I should be able to do this through iterating through all the objects in the EntityCollection and walking their PrefetchPaths to find if any of them are dirty???
How would I dynamically find out the PrefetchPaths of and EntityCOllection so that my code can work for any EntityCOllection?
Thanks