private void InsertServerDiffResultInDB(DateTime diffStartTime, bool allContentsMatch, int durationOfDiffInSeconds, string leftQualifier, string rightQualifier)
        {
            using (RuntimeEntityModel runtimeEntityModel = RuntimeEntityModel.CreateInstance())
            {
                RTServerDiffResult serverDiffResult =
                    RTServerDiffResult.CreateRTServerDiffResult(
                        0,
                        Session.SessionType.ToString(),
                        diffStartTime,
                        durationOfDiffInSeconds,
                        Session.SessionUniqueIdGuid,
                        allContentsMatch,
                        BuildOptionsStringForServerDiffResult(leftQualifier, rightQualifier));

                runtimeEntityModel.AddToRTServerDiffResultSet(serverDiffResult);

                foreach (string serverDiffResultDetail in m_serverDiffResultDetails)
                {
                    RTServerDiffResultDetail rtServerDiffResultDetail = RTServerDiffResultDetail.CreateRTServerDiffResultDetail(
                        0, serverDiffResultDetail);

                    rtServerDiffResultDetail.ServerDiffResult = serverDiffResult;

                    runtimeEntityModel.AddToRTServerDiffResultDetailSet(rtServerDiffResultDetail);
                }

                runtimeEntityModel.TrySaveChanges();
            }
        }