public override void Reload(bool notify) { GenerateReloadFragment(); lock (cache) { if (CalculateUnfilteredCount) { UpdateUnfilteredAggregates(); } connection.BeginTransaction(); cache.SaveSelection(); cache.Reload(); cache.UpdateAggregates(); cache.RestoreSelection(); connection.CommitTransaction(); count = cache.Count + select_all_offset; } UpdateSelectAllItem(count - select_all_offset); if (notify) { OnReloaded(); } }
public override void Reload(bool notify) { GenerateReloadFragment(); lock (cache) { connection.BeginTransaction(); cache.SaveSelection(); cache.Reload(); cache.UpdateAggregates(); cache.RestoreSelection(); connection.CommitTransaction(); count = cache.Count + 1; } UpdateSelectAllItem(count - 1); if (notify) { OnReloaded(); } }