Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ClosingStructures/ClosingStructuresSectionResultEntityReadExtensions.cs =================================================================== diff -u -r86ce17cdf5cf329f4d5bcd444320994fead52294 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ClosingStructures/ClosingStructuresSectionResultEntityReadExtensions.cs (.../ClosingStructuresSectionResultEntityReadExtensions.cs) (revision 86ce17cdf5cf329f4d5bcd444320994fead52294) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/ClosingStructures/ClosingStructuresSectionResultEntityReadExtensions.cs (.../ClosingStructuresSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -23,6 +23,7 @@ using Application.Ringtoets.Storage.DbContext; using Core.Common.Base.Data; using Ringtoets.ClosingStructures.Data; +using Ringtoets.Common.Data.FailureMechanism; namespace Application.Ringtoets.Storage.Read.ClosingStructures { @@ -53,7 +54,7 @@ throw new ArgumentNullException("collector"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); if (entity.ClosingStructuresCalculationEntity != null) Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/DuneErosion/DuneErosionSectionResultEntityReadExtensions.cs =================================================================== diff -u -r86ce17cdf5cf329f4d5bcd444320994fead52294 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/DuneErosion/DuneErosionSectionResultEntityReadExtensions.cs (.../DuneErosionSectionResultEntityReadExtensions.cs) (revision 86ce17cdf5cf329f4d5bcd444320994fead52294) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/DuneErosion/DuneErosionSectionResultEntityReadExtensions.cs (.../DuneErosionSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -48,7 +48,7 @@ throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerTwoA = (AssessmentLayerTwoAResult) entity.LayerTwoA; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsSectionResultEntityReadExtensions.cs =================================================================== diff -u -r04cb34562587c9b06345f2e639c57394e6a7d0a7 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsSectionResultEntityReadExtensions.cs (.../GrassCoverErosionInwardsSectionResultEntityReadExtensions.cs) (revision 04cb34562587c9b06345f2e639c57394e6a7d0a7) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsSectionResultEntityReadExtensions.cs (.../GrassCoverErosionInwardsSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -22,6 +22,7 @@ using System; using Application.Ringtoets.Storage.DbContext; using Core.Common.Base.Data; +using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.GrassCoverErosionInwards.Data; namespace Application.Ringtoets.Storage.Read.GrassCoverErosionInwards @@ -52,7 +53,7 @@ throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); if (entity.GrassCoverErosionInwardsCalculationEntity != null) { Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsSectionResultEntityReadExtensions.cs =================================================================== diff -u -r217b6c069ac85aef817e5423cecb0b037edac668 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsSectionResultEntityReadExtensions.cs (.../GrassCoverErosionOutwardsSectionResultEntityReadExtensions.cs) (revision 217b6c069ac85aef817e5423cecb0b037edac668) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionOutwards/GrassCoverErosionOutwardsSectionResultEntityReadExtensions.cs (.../GrassCoverErosionOutwardsSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -48,7 +48,7 @@ throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerTwoA = (AssessmentLayerTwoAResult) entity.LayerTwoA; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverSlipOffInwardsSectionResultEntityReadExtensions.cs =================================================================== diff -u -r11f0867b39150ae5fac83dc178a89fee46d27611 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverSlipOffInwardsSectionResultEntityReadExtensions.cs (.../GrassCoverSlipOffInwardsSectionResultEntityReadExtensions.cs) (revision 11f0867b39150ae5fac83dc178a89fee46d27611) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverSlipOffInwardsSectionResultEntityReadExtensions.cs (.../GrassCoverSlipOffInwardsSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -48,7 +48,7 @@ throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerTwoA = (AssessmentLayerTwoAResult) entity.LayerTwoA; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverSlipOffOutwardsSectionResultEntityReadExtensions.cs =================================================================== diff -u -r11f0867b39150ae5fac83dc178a89fee46d27611 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverSlipOffOutwardsSectionResultEntityReadExtensions.cs (.../GrassCoverSlipOffOutwardsSectionResultEntityReadExtensions.cs) (revision 11f0867b39150ae5fac83dc178a89fee46d27611) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverSlipOffOutwardsSectionResultEntityReadExtensions.cs (.../GrassCoverSlipOffOutwardsSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -48,7 +48,7 @@ throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerTwoA = (AssessmentLayerTwoAResult) entity.LayerTwoA; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/HeightStructures/HeightStructuresSectionResultEntityReadExtensions.cs =================================================================== diff -u -r04cb34562587c9b06345f2e639c57394e6a7d0a7 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/HeightStructures/HeightStructuresSectionResultEntityReadExtensions.cs (.../HeightStructuresSectionResultEntityReadExtensions.cs) (revision 04cb34562587c9b06345f2e639c57394e6a7d0a7) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/HeightStructures/HeightStructuresSectionResultEntityReadExtensions.cs (.../HeightStructuresSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -22,6 +22,7 @@ using System; using Application.Ringtoets.Storage.DbContext; using Core.Common.Base.Data; +using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.HeightStructures.Data; namespace Application.Ringtoets.Storage.Read.HeightStructures @@ -53,7 +54,7 @@ { throw new ArgumentNullException("collector"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); if (entity.HeightStructuresCalculationEntity != null) Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/MacrostabilityInwardsSectionResultEntityReadExtensions.cs =================================================================== diff -u -r11f0867b39150ae5fac83dc178a89fee46d27611 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/MacrostabilityInwardsSectionResultEntityReadExtensions.cs (.../MacrostabilityInwardsSectionResultEntityReadExtensions.cs) (revision 11f0867b39150ae5fac83dc178a89fee46d27611) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/MacrostabilityInwardsSectionResultEntityReadExtensions.cs (.../MacrostabilityInwardsSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -22,6 +22,7 @@ using System; using Application.Ringtoets.Storage.DbContext; using Core.Common.Base.Data; +using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.Integration.Data.StandAlone.SectionResults; namespace Application.Ringtoets.Storage.Read @@ -47,7 +48,7 @@ throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerTwoA = (RoundedDouble) entity.LayerTwoA.ToNullAsNaN(); sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/MacrostabilityOutwardsSectionResultEntityReadExtensions.cs =================================================================== diff -u -r11f0867b39150ae5fac83dc178a89fee46d27611 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/MacrostabilityOutwardsSectionResultEntityReadExtensions.cs (.../MacrostabilityOutwardsSectionResultEntityReadExtensions.cs) (revision 11f0867b39150ae5fac83dc178a89fee46d27611) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/MacrostabilityOutwardsSectionResultEntityReadExtensions.cs (.../MacrostabilityOutwardsSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -22,6 +22,7 @@ using System; using Application.Ringtoets.Storage.DbContext; using Core.Common.Base.Data; +using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.Integration.Data.StandAlone.SectionResults; namespace Application.Ringtoets.Storage.Read @@ -47,7 +48,7 @@ throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerTwoA = (RoundedDouble) entity.LayerTwoA.ToNullAsNaN(); sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/MicrostabilitySectionResultEntityReadExtensions.cs =================================================================== diff -u -r11f0867b39150ae5fac83dc178a89fee46d27611 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/MicrostabilitySectionResultEntityReadExtensions.cs (.../MicrostabilitySectionResultEntityReadExtensions.cs) (revision 11f0867b39150ae5fac83dc178a89fee46d27611) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/MicrostabilitySectionResultEntityReadExtensions.cs (.../MicrostabilitySectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -48,7 +48,7 @@ throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerTwoA = (AssessmentLayerTwoAResult) entity.LayerTwoA; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/PipingSectionResultEntityReadExtensions.cs =================================================================== diff -u -r11f0867b39150ae5fac83dc178a89fee46d27611 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/PipingSectionResultEntityReadExtensions.cs (.../PipingSectionResultEntityReadExtensions.cs) (revision 11f0867b39150ae5fac83dc178a89fee46d27611) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/PipingSectionResultEntityReadExtensions.cs (.../PipingSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -22,6 +22,7 @@ using System; using Application.Ringtoets.Storage.DbContext; using Core.Common.Base.Data; +using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.Piping.Data; namespace Application.Ringtoets.Storage.Read.Piping @@ -46,7 +47,7 @@ { throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); } } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/PipingStructures/PipingStructureSectionResultEntityReadExtensions.cs =================================================================== diff -u -r6e33ada58f1a53a5a732c3b4e46583ad846a2983 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/PipingStructures/PipingStructureSectionResultEntityReadExtensions.cs (.../PipingStructureSectionResultEntityReadExtensions.cs) (revision 6e33ada58f1a53a5a732c3b4e46583ad846a2983) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/PipingStructures/PipingStructureSectionResultEntityReadExtensions.cs (.../PipingStructureSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -48,7 +48,7 @@ throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerTwoA = (AssessmentLayerTwoAResult) entity.LayerTwoA; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StabilityPointStructures/StabilityPointStructuresSectionResultEntityReadExtensions.cs =================================================================== diff -u -r86ce17cdf5cf329f4d5bcd444320994fead52294 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StabilityPointStructures/StabilityPointStructuresSectionResultEntityReadExtensions.cs (.../StabilityPointStructuresSectionResultEntityReadExtensions.cs) (revision 86ce17cdf5cf329f4d5bcd444320994fead52294) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StabilityPointStructures/StabilityPointStructuresSectionResultEntityReadExtensions.cs (.../StabilityPointStructuresSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -22,6 +22,7 @@ using System; using Application.Ringtoets.Storage.DbContext; using Core.Common.Base.Data; +using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.StabilityPointStructures.Data; namespace Application.Ringtoets.Storage.Read.StabilityPointStructures @@ -53,7 +54,7 @@ throw new ArgumentNullException("collector"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); if (entity.StabilityPointStructuresCalculationEntity != null) Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StabilityStoneCover/StabilityStoneCoverSectionResultEntityReadExtensions.cs =================================================================== diff -u -r86ce17cdf5cf329f4d5bcd444320994fead52294 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StabilityStoneCover/StabilityStoneCoverSectionResultEntityReadExtensions.cs (.../StabilityStoneCoverSectionResultEntityReadExtensions.cs) (revision 86ce17cdf5cf329f4d5bcd444320994fead52294) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StabilityStoneCover/StabilityStoneCoverSectionResultEntityReadExtensions.cs (.../StabilityStoneCoverSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -48,7 +48,7 @@ throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerTwoA = (AssessmentLayerTwoAResult) entity.LayerTwoA; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StrengthStabilityLengthwiseConstructionSectionResultEntityReadExtensions.cs =================================================================== diff -u -r11f0867b39150ae5fac83dc178a89fee46d27611 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StrengthStabilityLengthwiseConstructionSectionResultEntityReadExtensions.cs (.../StrengthStabilityLengthwiseConstructionSectionResultEntityReadExtensions.cs) (revision 11f0867b39150ae5fac83dc178a89fee46d27611) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/StrengthStabilityLengthwiseConstructionSectionResultEntityReadExtensions.cs (.../StrengthStabilityLengthwiseConstructionSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -22,6 +22,7 @@ using System; using Application.Ringtoets.Storage.DbContext; using Core.Common.Base.Data; +using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.Integration.Data.StandAlone.SectionResults; namespace Application.Ringtoets.Storage.Read @@ -46,7 +47,7 @@ { throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); } } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/TechnicalInnovationSectionResultEntityReadExtensions.cs =================================================================== diff -u -r11f0867b39150ae5fac83dc178a89fee46d27611 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/TechnicalInnovationSectionResultEntityReadExtensions.cs (.../TechnicalInnovationSectionResultEntityReadExtensions.cs) (revision 11f0867b39150ae5fac83dc178a89fee46d27611) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/TechnicalInnovationSectionResultEntityReadExtensions.cs (.../TechnicalInnovationSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -22,6 +22,7 @@ using System; using Application.Ringtoets.Storage.DbContext; using Core.Common.Base.Data; +using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.Integration.Data.StandAlone.SectionResults; namespace Application.Ringtoets.Storage.Read @@ -46,7 +47,7 @@ { throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); } } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/WaterPressureAsphaltCoverSectionResultEntityReadExtensions.cs =================================================================== diff -u -r11f0867b39150ae5fac83dc178a89fee46d27611 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/WaterPressureAsphaltCoverSectionResultEntityReadExtensions.cs (.../WaterPressureAsphaltCoverSectionResultEntityReadExtensions.cs) (revision 11f0867b39150ae5fac83dc178a89fee46d27611) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/WaterPressureAsphaltCoverSectionResultEntityReadExtensions.cs (.../WaterPressureAsphaltCoverSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -22,6 +22,7 @@ using System; using Application.Ringtoets.Storage.DbContext; using Core.Common.Base.Data; +using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.Integration.Data.StandAlone.SectionResults; namespace Application.Ringtoets.Storage.Read @@ -46,7 +47,7 @@ { throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); } } Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/WaveImpactAsphaltCover/WaveImpactAsphaltCoverSectionResultEntityReadExtensions.cs =================================================================== diff -u -r5cc8a49cc445a67f425ced8216c772b9170ea517 -r64803704aada31fedee08b07f1f7f89d68d68d1e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/WaveImpactAsphaltCover/WaveImpactAsphaltCoverSectionResultEntityReadExtensions.cs (.../WaveImpactAsphaltCoverSectionResultEntityReadExtensions.cs) (revision 5cc8a49cc445a67f425ced8216c772b9170ea517) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/WaveImpactAsphaltCover/WaveImpactAsphaltCoverSectionResultEntityReadExtensions.cs (.../WaveImpactAsphaltCoverSectionResultEntityReadExtensions.cs) (revision 64803704aada31fedee08b07f1f7f89d68d68d1e) @@ -22,6 +22,7 @@ using System; using Application.Ringtoets.Storage.DbContext; using Core.Common.Base.Data; +using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.WaveImpactAsphaltCover.Data; namespace Application.Ringtoets.Storage.Read.WaveImpactAsphaltCover @@ -47,7 +48,7 @@ throw new ArgumentNullException("sectionResult"); } - sectionResult.AssessmentLayerOne = Convert.ToBoolean(entity.LayerOne); + sectionResult.AssessmentLayerOne = (AssessmentLayerOneState) entity.LayerOne; sectionResult.AssessmentLayerTwoA = (RoundedDouble) entity.LayerTwoA.ToNullAsNaN(); sectionResult.AssessmentLayerThree = (RoundedDouble) entity.LayerThree.ToNullAsNaN(); }