private static void SetCommonFailureMechanismSectionResultProperties(this IFailureMechanismSectionResultEntity entity,
                                                                      FailureMechanismSectionResult result)
 {
     entity.IsRelevant = Convert.ToByte(result.IsRelevant);
     entity.ManualInitialFailureMechanismResultSectionProbability = result.ManualInitialFailureMechanismResultSectionProbability.ToNaNAsNull();
     entity.FurtherAnalysisType       = Convert.ToByte(result.FurtherAnalysisType);
     entity.RefinedSectionProbability = result.RefinedSectionProbability.ToNaNAsNull();
 }
 private static void SetCommonFailureMechanismSectionResultProperties(this FailureMechanismSectionResult result,
                                                                      IFailureMechanismSectionResultEntity entity)
 {
     result.IsRelevant = Convert.ToBoolean(entity.IsRelevant);
     result.ManualInitialFailureMechanismResultSectionProbability = entity.ManualInitialFailureMechanismResultSectionProbability.ToNullAsNaN();
     result.FurtherAnalysisType       = (FailureMechanismSectionResultFurtherAnalysisType)entity.FurtherAnalysisType;
     result.RefinedSectionProbability = entity.RefinedSectionProbability.ToNullAsNaN();
 }