What is the best way to dispose the DbContexts of my active business objects and reset the environment while maintaining all parent-child relationships between those business objects?
My scenario is as follows:
App is launched and initializes all required business objects including registering child business objects.
User makes changes and saves them.
App refreshes all data queried to reflect any and all pre and post-save procedures to the user
How do I make sure the DbContexts of all my business objects are disposed and reinitialized to ensure the next query is pulled from the database and not EF's cache?