private void CreateCollectedObjectsForNotSupportedObjects(IDocumentSession session, IEnumerable <SelectedProbe> objectsNotSupported, CollectRequest collectRequest, CollectExecution collectExecution) { foreach (var probe in objectsNotSupported) { ProbeResult probeResult = probe.CreateCollectedObjectForNotSupportedObjects(probe.ObjectTypes); ProbeExecution probeExecution = this.CreateTheProbeExecution(probeResult, probe); collectRequest.UpdateSystemCharacteristics(session); collectExecution.ProbeExecutions.Add(probeExecution); session.SaveChanges(); } }