I have some UI bound to an ObservableCollection of type T where 'T' implements INotifyProperty Changed properly.
The problem is i need to completely swap out the ObservableCollection at runtime since it is popluated from a SQL call. This obviously messes the whole binding up and no change notifications fire.
How can i replace the source object at runtime without losing my binding?
the code is roughly like this
ObservableCollection<Issue> iss = Application.Current.FindResource("Issues") as ObservableCollection<Issue>;
iss = new ObservableCollection<Issue>();
PopulateCollection(iss);