I have a datacontext where I after communicating with the database performs the following operation:
private DAL.Client _client;
public void ReloadCurrentClient()
{
DBContext.Refresh(RefreshMode.OverwriteCurrentValues, _client);
}
I expected this method to bring the client-object back to sync with the database, but for some reason _client.Relationship (which is a collection of relationships) is not updated. Can you please give me some input on where I am off track here?