In my application, I extract the Data of a Linq To SQL DataContext into a dictionary for easy use like so:
Jobs = dbc.Jobs.ToDictionary(j => j.Id, j => j);
Then I bind this dictionary to a BindingSource:
bsJob.DataSource = jobManager.Jobs.Values.ToList();
I refresh the DataContext and the Dictionary regularly for when new Jobs are added to the database (whether directly through the local application or the application running on a different machine):
dbc.Refresh(RefreshMode.OverwriteCurrentValues, dbc.Job);
Jobs = dbc.Job.ToDictionary(j => j.Id, j => j);
How can I update the BindingSource to accommodate the changes as well?