Hi,
In an application I'm try to keep track of whether an entity or any of it's related child collections have been modified since being loaded.
The entity itself has an IsDirty property but is there any easy way to check whether any of the child collections are dirty without explicitly checking them
e.g. to avoid doing the following:
If Product.IsDirty OrElse Product.ProductOptions.DirtyEntities.Count > 0
The aim is to ultimately display the usual "You have unsaved changes" style prompts but to do this without requiring an in-depth knowledge of the various collections that may be displayed.
Any ideas folks?