С EF4 CTP5 DbContext, что эквивалентно этому
public void Refresh(Document instance)
{
_ctx.Refresh(RefreshMode.StoreWins, instance);
}
Я пробовал это, но он не делает то же самое, обновляя экземпляр
public void Refresh(Document instance)
{
_ctx.ChangeTracker.DetectChanges();
}
?