Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Application.Ringtoets.Storage.csproj =================================================================== diff -u -r0981b22c56801334d3f71343f1a861070a404e3e -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Application.Ringtoets.Storage.csproj (.../Application.Ringtoets.Storage.csproj) (revision 0981b22c56801334d3f71343f1a861070a404e3e) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Application.Ringtoets.Storage.csproj (.../Application.Ringtoets.Storage.csproj) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -63,6 +63,7 @@ + @@ -119,6 +120,9 @@ RingtoetsEntities.tt + + RingtoetsEntities.tt + RingtoetsEntities.tt @@ -280,6 +284,7 @@ + Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsOutputCreateExtensions.cs =================================================================== diff -u -r7ae9100ff4e61169edcefaeb01b72d492431742f -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsOutputCreateExtensions.cs (.../GrassCoverErosionInwardsOutputCreateExtensions.cs) (revision 7ae9100ff4e61169edcefaeb01b72d492431742f) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsOutputCreateExtensions.cs (.../GrassCoverErosionInwardsOutputCreateExtensions.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -20,6 +20,7 @@ // All rights reserved. using System; +using Application.Ringtoets.Storage.Create.GrassCoverErosionOutwards; using Application.Ringtoets.Storage.DbContext; using Ringtoets.GrassCoverErosionInwards.Data; @@ -42,8 +43,6 @@ { var entity = new GrassCoverErosionInwardsOutputEntity { - DikeHeight = output.DikeHeight.Value.ToNaNAsNull(), - IsDikeHeightCalculated = Convert.ToByte(output.DikeHeightCalculated), IsOvertoppingDominant = Convert.ToByte(output.IsOvertoppingDominant), WaveHeight = output.WaveHeight.Value.ToNaNAsNull(), RequiredProbability = output.ProbabilityAssessmentOutput.RequiredProbability.ToNaNAsNull(), @@ -53,7 +52,18 @@ FactorOfSafety = output.ProbabilityAssessmentOutput.FactorOfSafety.Value.ToNaNAsNull() }; + CreateDikeHeightAssessmentOutput(entity, output.DikeHeightAssessmentOutput); + return entity; } + + private static void CreateDikeHeightAssessmentOutput(GrassCoverErosionInwardsOutputEntity entity, DikeHeightAssessmentOutput output) + { + if (output == null) + { + return; + } + entity.GrassCoverErosionInwardsDikeHeightOutputEntities.Add(output.Create()); + } } } \ No newline at end of file Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionOutwards/DikeHeightAssessmentOutputCreateExtensions.cs =================================================================== diff -u --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionOutwards/DikeHeightAssessmentOutputCreateExtensions.cs (revision 0) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionOutwards/DikeHeightAssessmentOutputCreateExtensions.cs (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -0,0 +1,60 @@ +// Copyright (C) Stichting Deltares 2016. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using Application.Ringtoets.Storage.DbContext; +using Ringtoets.GrassCoverErosionInwards.Data; + +namespace Application.Ringtoets.Storage.Create.GrassCoverErosionOutwards +{ + /// + /// Extension methods for related to creating a . + /// + internal static class DikeHeightAssessmentOutputCreateExtensions + { + /// + /// Creates a based on the information of the . + /// + /// The output to create a database entity for. + /// A new . + internal static GrassCoverErosionInwardsDikeHeightOutputEntity Create(this DikeHeightAssessmentOutput output) + { + return new GrassCoverErosionInwardsDikeHeightOutputEntity + { + DikeHeight = double.IsNaN(output.Result) + ? (double?)null + : output.Result, + TargetProbability = double.IsNaN(output.TargetProbability) + ? (double?)null + : output.TargetProbability, + TargetReliability = double.IsNaN(output.TargetReliability) + ? (double?)null + : output.TargetReliability, + CalculatedProbability = double.IsNaN(output.CalculatedProbability) + ? (double?)null + : output.CalculatedProbability, + CalculatedReliability = double.IsNaN(output.CalculatedReliability) + ? (double?)null + : output.CalculatedReliability, + CalculationConvergence = (byte)output.CalculationConvergence + }; + } + } +} \ No newline at end of file Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/AssessmentSectionEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/AssessmentSectionEntity.cs (.../AssessmentSectionEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/AssessmentSectionEntity.cs (.../AssessmentSectionEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,20 +28,20 @@ // //------------------------------------------------------------------------------ -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class AssessmentSectionEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public AssessmentSectionEntity() { FailureMechanismEntities = new HashSet(); HydraulicLocationEntities = new HashSet(); } - + public long AssessmentSectionEntityId { get; set; } public long ProjectEntityId { get; set; } public string Id { get; set; } @@ -53,13 +53,11 @@ public short Composition { get; set; } public string ReferenceLinePointXml { get; set; } public int Order { get; set; } - + public virtual ProjectEntity ProjectEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection FailureMechanismEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection HydraulicLocationEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/CalculationGroupEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/CalculationGroupEntity.cs (.../CalculationGroupEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/CalculationGroupEntity.cs (.../CalculationGroupEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,15 +28,14 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class CalculationGroupEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public CalculationGroupEntity() { CalculationGroupEntity1 = new HashSet(); @@ -50,42 +49,32 @@ StabilityStoneCoverWaveConditionsCalculationEntities = new HashSet(); WaveImpactAsphaltCoverWaveConditionsCalculationEntities = new HashSet(); } - + public long CalculationGroupEntityId { get; set; } public Nullable ParentCalculationGroupEntityId { get; set; } public string Name { get; set; } public int Order { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection CalculationGroupEntity1 { get; set; } - public virtual CalculationGroupEntity CalculationGroupEntity2 { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ClosingStructuresCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection FailureMechanismEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionInwardsCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionOutwardsWaveConditionsCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection HeightStructuresCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection PipingCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StabilityPointStructuresCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StabilityStoneCoverWaveConditionsCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection WaveImpactAsphaltCoverWaveConditionsCalculationEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/CharacteristicPointEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/CharacteristicPointEntity.cs (.../CharacteristicPointEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/CharacteristicPointEntity.cs (.../CharacteristicPointEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,10 +28,11 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class CharacteristicPointEntity { public long CharacteristicPointEntityId { get; set; } @@ -40,7 +41,7 @@ public Nullable X { get; set; } public Nullable Y { get; set; } public Nullable Z { get; set; } - + public virtual SurfaceLineEntity SurfaceLineEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructureEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructureEntity.cs (.../ClosingStructureEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructureEntity.cs (.../ClosingStructureEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,20 +28,19 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class ClosingStructureEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public ClosingStructureEntity() { ClosingStructuresCalculationEntities = new HashSet(); } - + public long ClosingStructureEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public int Order { get; set; } @@ -73,10 +72,9 @@ public int IdenticalApertures { get; set; } public Nullable FailureProbabilityReparation { get; set; } public byte InflowModelType { get; set; } - + public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ClosingStructuresCalculationEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructureFailureMechanismMetaEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructureFailureMechanismMetaEntity.cs (.../ClosingStructureFailureMechanismMetaEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructureFailureMechanismMetaEntity.cs (.../ClosingStructureFailureMechanismMetaEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -30,12 +30,15 @@ namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class ClosingStructureFailureMechanismMetaEntity { public long ClosingStructureFailureMechanismMetaEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public int N2A { get; set; } - + public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructuresCalculationEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructuresCalculationEntity.cs (.../ClosingStructuresCalculationEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructuresCalculationEntity.cs (.../ClosingStructuresCalculationEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,21 +28,20 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class ClosingStructuresCalculationEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public ClosingStructuresCalculationEntity() { ClosingStructuresOutputEntities = new HashSet(); ClosingStructuresSectionResultEntities = new HashSet(); } - + public long ClosingStructuresCalculationEntityId { get; set; } public long CalculationGroupEntityId { get; set; } public Nullable ForeshoreProfileEntityId { get; set; } @@ -51,7 +50,18 @@ public int Order { get; set; } public string Name { get; set; } public string Comments { get; set; } + public byte UseBreakWater { get; set; } + public short BreakWaterType { get; set; } + public Nullable BreakWaterHeight { get; set; } + public byte UseForeshore { get; set; } public Nullable Orientation { get; set; } + public Nullable StructureNormalOrientation { get; set; } + public Nullable StorageStructureAreaMean { get; set; } + public Nullable StorageStructureAreaCoefficientOfVariation { get; set; } + public Nullable AllowedLevelIncreaseStorageMean { get; set; } + public Nullable AllowedLevelIncreaseStorageStandardDeviation { get; set; } + public Nullable WidthFlowAperturesMean { get; set; } + public Nullable WidthFlowAperturesCoefficientOfVariation { get; set; } public Nullable LevelCrestStructureNotClosingMean { get; set; } public Nullable LevelCrestStructureNotClosingStandardDeviation { get; set; } public Nullable InsideWaterLevelMean { get; set; } @@ -60,43 +70,29 @@ public Nullable ThresholdHeightOpenWeirStandardDeviation { get; set; } public Nullable AreaFlowAperturesMean { get; set; } public Nullable AreaFlowAperturesStandardDeviation { get; set; } + public Nullable CriticalOvertoppingDischargeMean { get; set; } + public Nullable CriticalOvertoppingDischargeCoefficientOfVariation { get; set; } + public Nullable FlowWidthAtBottomProtectionMean { get; set; } + public Nullable FlowWidthAtBottomProtectionStandardDeviation { get; set; } public double ProbabilityOpenStructureBeforeFlooding { get; set; } public double FailureProbabilityOpenStructure { get; set; } public int IdenticalApertures { get; set; } public double FailureProbabilityReparation { get; set; } public byte InflowModelType { get; set; } + public double FailureProbabilityStructureWithErosion { get; set; } public Nullable DeviationWaveDirection { get; set; } public Nullable DrainCoefficientMean { get; set; } + public Nullable ModelFactorSuperCriticalFlowMean { get; set; } + public Nullable StormDurationMean { get; set; } public Nullable FactorStormDurationOpenStructure { get; set; } - + public virtual CalculationGroupEntity CalculationGroupEntity { get; set; } public virtual ClosingStructureEntity ClosingStructureEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection ClosingStructuresOutputEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection ClosingStructuresSectionResultEntities { get; set; } - - public byte UseBreakWater { get; set; } - public short BreakWaterType { get; set; } - public Nullable BreakWaterHeight { get; set; } - public byte UseForeshore { get; set; } - public Nullable StructureNormalOrientation { get; set; } - public Nullable StorageStructureAreaMean { get; set; } - public Nullable StorageStructureAreaCoefficientOfVariation { get; set; } - public Nullable AllowedLevelIncreaseStorageMean { get; set; } - public Nullable AllowedLevelIncreaseStorageStandardDeviation { get; set; } - public Nullable WidthFlowAperturesMean { get; set; } - public Nullable WidthFlowAperturesCoefficientOfVariation { get; set; } - public Nullable CriticalOvertoppingDischargeMean { get; set; } - public Nullable CriticalOvertoppingDischargeCoefficientOfVariation { get; set; } - public Nullable FlowWidthAtBottomProtectionMean { get; set; } - public Nullable FlowWidthAtBottomProtectionStandardDeviation { get; set; } - public double FailureProbabilityStructureWithErosion { get; set; } - public Nullable ModelFactorSuperCriticalFlowMean { get; set; } - public Nullable StormDurationMean { get; set; } public virtual HydraulicLocationEntity HydraulicLocationEntity { get; set; } public virtual ForeshoreProfileEntity ForeshoreProfileEntity { get; set; } + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection ClosingStructuresOutputEntities { get; set; } + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection ClosingStructuresSectionResultEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructuresOutputEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructuresOutputEntity.cs (.../ClosingStructuresOutputEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructuresOutputEntity.cs (.../ClosingStructuresOutputEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,20 +28,21 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class ClosingStructuresOutputEntity { public long ClosingStructuresOutputEntityId { get; set; } public long ClosingStructuresCalculationEntityId { get; set; } - - public virtual ClosingStructuresCalculationEntity ClosingStructuresCalculationEntity { get; set; } public Nullable RequiredProbability { get; set; } public Nullable RequiredReliability { get; set; } public Nullable Probability { get; set; } public Nullable Reliability { get; set; } public Nullable FactorOfSafety { get; set; } + + public virtual ClosingStructuresCalculationEntity ClosingStructuresCalculationEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructuresSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructuresSectionResultEntity.cs (.../ClosingStructuresSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ClosingStructuresSectionResultEntity.cs (.../ClosingStructuresSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,19 +28,20 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class ClosingStructuresSectionResultEntity { public long ClosingStructuresSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public Nullable ClosingStructuresCalculationEntityId { get; set; } public byte LayerOne { get; set; } public Nullable LayerThree { get; set; } - + public virtual ClosingStructuresCalculationEntity ClosingStructuresCalculationEntity { get; set; } public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/DatabaseStructure.sql =================================================================== diff -u -rbfe36d6bae8c85e941d20cd6f150f022445d3ac2 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/DatabaseStructure.sql (.../DatabaseStructure.sql) (revision bfe36d6bae8c85e941d20cd6f150f022445d3ac2) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/DatabaseStructure.sql (.../DatabaseStructure.sql) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -1,6 +1,6 @@ /* ---------------------------------------------------- */ /* Generated by Enterprise Architect Version 12.0 */ -/* Created On : 09-Dec-2016 6:34:33 AM */ +/* Created On : 12-Dec-2016 2:18:00 PM */ /* DBMS : SQLite */ /* ---------------------------------------------------- */ @@ -192,6 +192,9 @@ DROP TABLE IF EXISTS 'GrassCoverErosionOutwardsHydraulicLocationOutputEntity' ; +DROP TABLE IF EXISTS 'GrassCoverErosionInwardsDikeHeightOutputEntity' +; + /* Create Tables with Primary and Foreign Keys, Check and Unique Constraints */ CREATE TABLE 'VersionEntity' @@ -303,7 +306,7 @@ 'Norm' REAL NOT NULL, 'HydraulicDatabaseVersion' TEXT, 'HydraulicDatabaseLocation' TEXT, - 'Composition' SMALLINT NOT NULL, -- Enum: Dike = 0, Dune = 1, DikeAndDune = 2 + 'Composition' SMALLINT NOT NULL, -- Enum: Dike = 1 Dune = 2 DikeAndDune = 3 'ReferenceLinePointXml' TEXT, 'Order' INT (4) NOT NULL, CONSTRAINT 'FK_AssessmentSectionEntity_ProjectEntity' FOREIGN KEY ('ProjectEntityId') REFERENCES 'ProjectEntity' ('ProjectEntityId') ON DELETE Cascade ON UPDATE Cascade @@ -800,8 +803,6 @@ 'Order' INT (4) NOT NULL, 'IsOvertoppingDominant' TINYINT (1) NOT NULL, 'WaveHeight' REAL, - 'DikeHeight' REAL, -- REAL mapped as string, or DBNull when the value is null. - 'IsDikeHeightCalculated' TINYINT (1) NOT NULL, 'RequiredProbability' REAL, 'RequiredReliability' REAL, 'Probability' REAL, @@ -869,7 +870,7 @@ 'TargetReliability' REAL, 'CalculatedProbability' REAL, 'CalculatedReliability' REAL, - 'CalculationConvergence' TINYINT (1) NOT NULL, -- Enum: 0 = NotCalculated 1 = CalculationNotConverged 2 = CalculationConverged + 'CalculationConvergence' TINYINT (1) NOT NULL, -- Enum: 1 = NotCalculated 2 = CalculationNotConverged 3 = CalculationConverged CONSTRAINT 'FK_StabilityStoneCoverWaveConditionsOutputEntity_StabilityStoneCoverWaveConditionsCalculationEntity' FOREIGN KEY ('StabilityStoneCoverWaveConditionsCalculationEntityId') REFERENCES 'StabilityStoneCoverWaveConditionsCalculationEntity' ('StabilityStoneCoverWaveConditionsCalculationEntityId') ON DELETE Cascade ON UPDATE Cascade ) ; @@ -913,7 +914,7 @@ 'TargetReliability' REAL, 'CalculatedProbability' REAL, 'CalculatedReliability' REAL, - 'CalculationConvergence' TINYINT (1) NOT NULL, -- Enum 0 = NotCalculated 1 = CalculationNotConverged 2 = CalculationConverged + 'CalculationConvergence' TINYINT (1) NOT NULL, -- Enum 1 = NotCalculated 2 = CalculationNotConverged 3 = CalculationConverged CONSTRAINT 'FK_WaveImpactAsphaltCoverWaveConditionsOutputEntity_WaveImpactAsphaltCoverWaveConditionsCalculationEntity' FOREIGN KEY ('WaveImpactAsphaltCoverWaveConditionsCalculationEntityId') REFERENCES 'WaveImpactAsphaltCoverWaveConditionsCalculationEntity' ('WaveImpactAsphaltCoverWaveConditionsCalculationEntityId') ON DELETE Cascade ON UPDATE Cascade ) ; @@ -1086,7 +1087,7 @@ 'FailureProbabilityOpenStructure' REAL, 'IdenticalApertures' INT (4) NOT NULL, 'FailureProbabilityReparation' REAL, - 'InflowModelType' TINYINT (1) NOT NULL, -- Enum. VerticalWall = 1, LowSill = 2, FloodedCulvert =3 + 'InflowModelType' TINYINT (1) NOT NULL, -- Enum: VerticalWall = 1 LowSill = 2 FloodedCulvert = 3 CONSTRAINT 'FK_ClosingStructureEntity_FailureMechanismEntity' FOREIGN KEY ('FailureMechanismEntityId') REFERENCES 'FailureMechanismEntity' ('FailureMechanismEntityId') ON DELETE Cascade ON UPDATE Cascade ) ; @@ -1261,6 +1262,21 @@ ) ; +CREATE TABLE 'GrassCoverErosionInwardsDikeHeightOutputEntity' +( + 'GrassCoverErosionInwardsDikeHeightOutputEntityId' INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT, + 'GrassCoverErosionInwardsOutputEntityId' INTEGER NOT NULL, + 'DikeHeight' REAL, + 'TargetProbability' REAL, + 'TargetReliability' REAL, + 'CalculatedProbability' REAL, + 'CalculatedReliability' REAL, + 'CalculationConvergence' TINYINT (1) NOT NULL, -- NotCalculated, CalculatedNotConverged or CalculatedConverged + CONSTRAINT 'FK_GrassCoverErosionInwardsDikeHeightOutputEntity_GrassCoverErosionInwardsOutputEntity' FOREIGN KEY ('GrassCoverErosionInwardsOutputEntityId') REFERENCES 'GrassCoverErosionInwardsOutputEntity' ('GrassCoverErosionInwardsOutputEntityId') ON DELETE Cascade ON UPDATE Cascade, + CONSTRAINT 'U_GrassCoverErosionInwardsOutputEntity' UNIQUE ('GrassCoverErosionInwardsOutputEntityId') +) +; + /* Create Indexes and Triggers */ CREATE INDEX 'IXFK_StabilityPointStructuresCalculationEntity_CalculationGroupEntity' @@ -1598,3 +1614,7 @@ CREATE INDEX 'IXFK_GrassCoverErosionOutwardsHydraulicLocationOutputEntity_GrassCoverErosionOutwardsHydraulicLocationEntity' ON 'GrassCoverErosionOutwardsHydraulicLocationOutputEntity' ('GrassCoverErosionOutwardsHydraulicLocationEntityId' ASC) ; + +CREATE INDEX 'IXFK_GrassCoverErosionInwardsDikeHeightOutputEntity_GrassCoverErosionInwardsOutputEntity' + ON 'GrassCoverErosionInwardsDikeHeightOutputEntity' ('GrassCoverErosionInwardsOutputEntityId' ASC) +; Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/DikeProfileEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/DikeProfileEntity.cs (.../DikeProfileEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/DikeProfileEntity.cs (.../DikeProfileEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,20 +28,19 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class DikeProfileEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public DikeProfileEntity() { GrassCoverErosionInwardsCalculationEntities = new HashSet(); } - + public long DikeProfileEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public string Name { get; set; } @@ -55,10 +54,9 @@ public Nullable Y { get; set; } public Nullable X0 { get; set; } public int Order { get; set; } - + public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionInwardsCalculationEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/DuneErosionSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/DuneErosionSectionResultEntity.cs (.../DuneErosionSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/DuneErosionSectionResultEntity.cs (.../DuneErosionSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,18 +28,19 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class DuneErosionSectionResultEntity { public long DuneErosionSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public byte LayerOne { get; set; } public byte LayerTwoA { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/FailureMechanismEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/FailureMechanismEntity.cs (.../FailureMechanismEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/FailureMechanismEntity.cs (.../FailureMechanismEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,15 +28,14 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class FailureMechanismEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public FailureMechanismEntity() { ClosingStructureEntities = new HashSet(); @@ -55,7 +54,7 @@ StochasticSoilModelEntities = new HashSet(); SurfaceLineEntities = new HashSet(); } - + public long FailureMechanismEntityId { get; set; } public long AssessmentSectionEntityId { get; set; } public Nullable CalculationGroupEntityId { get; set; } @@ -64,53 +63,38 @@ public string InputComments { get; set; } public string OutputComments { get; set; } public string NotRelevantComments { get; set; } - + public virtual AssessmentSectionEntity AssessmentSectionEntity { get; set; } public virtual CalculationGroupEntity CalculationGroupEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ClosingStructureEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ClosingStructureFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection DikeProfileEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection FailureMechanismSectionEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ForeshoreProfileEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionInwardsFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionOutwardsFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionOutwardsHydraulicLocationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection HeightStructureEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection HeightStructuresFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection PipingFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StabilityPointStructureEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StabilityPointStructuresFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StochasticSoilModelEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection SurfaceLineEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/FailureMechanismSectionEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/FailureMechanismSectionEntity.cs (.../FailureMechanismSectionEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/FailureMechanismSectionEntity.cs (.../FailureMechanismSectionEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,14 +28,14 @@ // //------------------------------------------------------------------------------ -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class FailureMechanismSectionEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public FailureMechanismSectionEntity() { ClosingStructuresSectionResultEntities = new HashSet(); @@ -57,66 +57,48 @@ WaterPressureAsphaltCoverSectionResultEntities = new HashSet(); WaveImpactAsphaltCoverSectionResultEntities = new HashSet(); } - + public long FailureMechanismSectionEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public string Name { get; set; } public string FailureMechanismSectionPointXml { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ClosingStructuresSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection DuneErosionSectionResultEntities { get; set; } - public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionInwardsSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionOutwardsSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverSlipOffInwardsSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverSlipOffOutwardsSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection HeightStructuresSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection MacrostabilityInwardsSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection MacrostabilityOutwardsSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection MicrostabilitySectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection PipingSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection PipingStructureSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StabilityPointStructuresSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StabilityStoneCoverSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StrengthStabilityLengthwiseConstructionSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection TechnicalInnovationSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection WaterPressureAsphaltCoverSectionResultEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection WaveImpactAsphaltCoverSectionResultEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ForeshoreProfileEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ForeshoreProfileEntity.cs (.../ForeshoreProfileEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ForeshoreProfileEntity.cs (.../ForeshoreProfileEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,15 +28,14 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class ForeshoreProfileEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public ForeshoreProfileEntity() { ClosingStructuresCalculationEntities = new HashSet(); @@ -46,7 +45,7 @@ StabilityStoneCoverWaveConditionsCalculationEntities = new HashSet(); WaveImpactAsphaltCoverWaveConditionsCalculationEntities = new HashSet(); } - + public long ForeshoreProfileEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public string Name { get; set; } @@ -58,25 +57,19 @@ public Nullable Y { get; set; } public Nullable X0 { get; set; } public int Order { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ClosingStructuresCalculationEntities { get; set; } - public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionOutwardsWaveConditionsCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection HeightStructuresCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StabilityPointStructuresCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StabilityStoneCoverWaveConditionsCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection WaveImpactAsphaltCoverWaveConditionsCalculationEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsCalculationEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsCalculationEntity.cs (.../GrassCoverErosionInwardsCalculationEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsCalculationEntity.cs (.../GrassCoverErosionInwardsCalculationEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,21 +28,20 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class GrassCoverErosionInwardsCalculationEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public GrassCoverErosionInwardsCalculationEntity() { GrassCoverErosionInwardsOutputEntities = new HashSet(); GrassCoverErosionInwardsSectionResultEntities = new HashSet(); } - + public long GrassCoverErosionInwardsCalculationEntityId { get; set; } public long CalculationGroupEntityId { get; set; } public Nullable HydraulicLocationEntityId { get; set; } @@ -59,15 +58,13 @@ public short BreakWaterType { get; set; } public Nullable BreakWaterHeight { get; set; } public byte CalculateDikeHeight { get; set; } - + public virtual CalculationGroupEntity CalculationGroupEntity { get; set; } public virtual DikeProfileEntity DikeProfileEntity { get; set; } public virtual HydraulicLocationEntity HydraulicLocationEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionInwardsOutputEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionInwardsSectionResultEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsDikeHeightOutputEntity.cs =================================================================== diff -u --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsDikeHeightOutputEntity.cs (revision 0) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsDikeHeightOutputEntity.cs (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -0,0 +1,49 @@ +// Copyright (C) Stichting Deltares 2016. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +//------------------------------------------------------------------------------ +// +// This code was generated from a template. +// +// Manual changes to this file may cause unexpected behavior in your application. +// Manual changes to this file will be overwritten if the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Application.Ringtoets.Storage.DbContext +{ + using System; + using System.Collections.Generic; + + public partial class GrassCoverErosionInwardsDikeHeightOutputEntity + { + public long GrassCoverErosionInwardsDikeHeightOutputEntityId { get; set; } + public long GrassCoverErosionInwardsOutputEntityId { get; set; } + public Nullable DikeHeight { get; set; } + public Nullable TargetProbability { get; set; } + public Nullable TargetReliability { get; set; } + public Nullable CalculatedProbability { get; set; } + public Nullable CalculatedReliability { get; set; } + public byte CalculationConvergence { get; set; } + + public virtual GrassCoverErosionInwardsOutputEntity GrassCoverErosionInwardsOutputEntity { get; set; } + } +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsFailureMechanismMetaEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsFailureMechanismMetaEntity.cs (.../GrassCoverErosionInwardsFailureMechanismMetaEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsFailureMechanismMetaEntity.cs (.../GrassCoverErosionInwardsFailureMechanismMetaEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -30,12 +30,15 @@ namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class GrassCoverErosionInwardsFailureMechanismMetaEntity { public long GrassCoverErosionInwardsFailureMechanismMetaEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public int N { get; set; } - + public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsOutputEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsOutputEntity.cs (.../GrassCoverErosionInwardsOutputEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsOutputEntity.cs (.../GrassCoverErosionInwardsOutputEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,25 +28,32 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class GrassCoverErosionInwardsOutputEntity { + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public GrassCoverErosionInwardsOutputEntity() + { + GrassCoverErosionInwardsDikeHeightOutputEntities = new HashSet(); + } + public long GrassCoverErosionInwardsOutputEntityId { get; set; } public long GrassCoverErosionInwardsCalculationEntityId { get; set; } public int Order { get; set; } public byte IsOvertoppingDominant { get; set; } public Nullable WaveHeight { get; set; } - public Nullable DikeHeight { get; set; } - public byte IsDikeHeightCalculated { get; set; } public Nullable RequiredProbability { get; set; } public Nullable RequiredReliability { get; set; } public Nullable Probability { get; set; } public Nullable Reliability { get; set; } public Nullable FactorOfSafety { get; set; } - + public virtual GrassCoverErosionInwardsCalculationEntity GrassCoverErosionInwardsCalculationEntity { get; set; } + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection GrassCoverErosionInwardsDikeHeightOutputEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsSectionResultEntity.cs (.../GrassCoverErosionInwardsSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionInwardsSectionResultEntity.cs (.../GrassCoverErosionInwardsSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,19 +28,20 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class GrassCoverErosionInwardsSectionResultEntity { public long GrassCoverErosionInwardsSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public Nullable GrassCoverErosionInwardsCalculationEntityId { get; set; } public byte LayerOne { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } public virtual GrassCoverErosionInwardsCalculationEntity GrassCoverErosionInwardsCalculationEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsFailureMechanismMetaEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsFailureMechanismMetaEntity.cs (.../GrassCoverErosionOutwardsFailureMechanismMetaEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsFailureMechanismMetaEntity.cs (.../GrassCoverErosionOutwardsFailureMechanismMetaEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -30,12 +30,15 @@ namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class GrassCoverErosionOutwardsFailureMechanismMetaEntity { public long GrassCoverErosionOutwardsFailureMechanismMetaEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public int N { get; set; } - + public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsHydraulicLocationEntity.cs =================================================================== diff -u -rbfe36d6bae8c85e941d20cd6f150f022445d3ac2 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsHydraulicLocationEntity.cs (.../GrassCoverErosionOutwardsHydraulicLocationEntity.cs) (revision bfe36d6bae8c85e941d20cd6f150f022445d3ac2) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsHydraulicLocationEntity.cs (.../GrassCoverErosionOutwardsHydraulicLocationEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,35 +28,32 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class GrassCoverErosionOutwardsHydraulicLocationEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public GrassCoverErosionOutwardsHydraulicLocationEntity() { GrassCoverErosionOutwardsHydraulicLocationOutputEntities = new HashSet(); GrassCoverErosionOutwardsWaveConditionsCalculationEntities = new HashSet(); } - + public long GrassCoverErosionOutwardsHydraulicLocationEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public long LocationId { get; set; } public string Name { get; set; } public Nullable LocationX { get; set; } public Nullable LocationY { get; set; } public int Order { get; set; } - + public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionOutwardsHydraulicLocationOutputEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionOutwardsWaveConditionsCalculationEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsHydraulicLocationOutputEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsHydraulicLocationOutputEntity.cs (.../GrassCoverErosionOutwardsHydraulicLocationOutputEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsHydraulicLocationOutputEntity.cs (.../GrassCoverErosionOutwardsHydraulicLocationOutputEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,22 +28,23 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class GrassCoverErosionOutwardsHydraulicLocationOutputEntity { public long GrassCoverErosionOutwardsHydraulicLocationOutputEntityId { get; set; } public long GrassCoverErosionOutwardsHydraulicLocationEntityId { get; set; } - - public virtual GrassCoverErosionOutwardsHydraulicLocationEntity GrassCoverErosionOutwardsHydraulicLocationEntity { get; set; } public byte HydraulicLocationOutputType { get; set; } public Nullable Result { get; set; } public Nullable TargetProbability { get; set; } public Nullable TargetReliability { get; set; } public Nullable CalculatedProbability { get; set; } public Nullable CalculatedReliability { get; set; } public byte CalculationConvergence { get; set; } + + public virtual GrassCoverErosionOutwardsHydraulicLocationEntity GrassCoverErosionOutwardsHydraulicLocationEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsSectionResultEntity.cs (.../GrassCoverErosionOutwardsSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsSectionResultEntity.cs (.../GrassCoverErosionOutwardsSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,18 +28,19 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class GrassCoverErosionOutwardsSectionResultEntity { public long GrassCoverErosionOutwardsSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public byte LayerOne { get; set; } public byte LayerTwoA { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsWaveConditionsCalculationEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsWaveConditionsCalculationEntity.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsWaveConditionsCalculationEntity.cs (.../GrassCoverErosionOutwardsWaveConditionsCalculationEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,20 +28,19 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class GrassCoverErosionOutwardsWaveConditionsCalculationEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public GrassCoverErosionOutwardsWaveConditionsCalculationEntity() { GrassCoverErosionOutwardsWaveConditionsOutputEntities = new HashSet(); } - + public long GrassCoverErosionOutwardsWaveConditionsCalculationEntityId { get; set; } public long CalculationGroupEntityId { get; set; } public Nullable ForeshoreProfileEntityId { get; set; } @@ -59,12 +58,11 @@ public Nullable UpperBoundaryWaterLevels { get; set; } public Nullable LowerBoundaryWaterLevels { get; set; } public byte StepSize { get; set; } - + public virtual CalculationGroupEntity CalculationGroupEntity { get; set; } public virtual ForeshoreProfileEntity ForeshoreProfileEntity { get; set; } public virtual GrassCoverErosionOutwardsHydraulicLocationEntity GrassCoverErosionOutwardsHydraulicLocationEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionOutwardsWaveConditionsOutputEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsWaveConditionsOutputEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsWaveConditionsOutputEntity.cs (.../GrassCoverErosionOutwardsWaveConditionsOutputEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverErosionOutwardsWaveConditionsOutputEntity.cs (.../GrassCoverErosionOutwardsWaveConditionsOutputEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,10 +28,11 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class GrassCoverErosionOutwardsWaveConditionsOutputEntity { public long GrassCoverErosionOutwardsWaveConditionsOutputEntityId { get; set; } @@ -47,7 +48,7 @@ public Nullable CalculatedProbability { get; set; } public Nullable CalculatedReliability { get; set; } public byte CalculationConvergence { get; set; } - + public virtual GrassCoverErosionOutwardsWaveConditionsCalculationEntity GrassCoverErosionOutwardsWaveConditionsCalculationEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverSlipOffInwardsSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverSlipOffInwardsSectionResultEntity.cs (.../GrassCoverSlipOffInwardsSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverSlipOffInwardsSectionResultEntity.cs (.../GrassCoverSlipOffInwardsSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,18 +28,19 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class GrassCoverSlipOffInwardsSectionResultEntity { public long GrassCoverSlipOffInwardsSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public byte LayerOne { get; set; } public byte LayerTwoA { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverSlipOffOutwardsSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverSlipOffOutwardsSectionResultEntity.cs (.../GrassCoverSlipOffOutwardsSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/GrassCoverSlipOffOutwardsSectionResultEntity.cs (.../GrassCoverSlipOffOutwardsSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,18 +28,19 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class GrassCoverSlipOffOutwardsSectionResultEntity { public long GrassCoverSlipOffOutwardsSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public byte LayerOne { get; set; } public byte LayerTwoA { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructureEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructureEntity.cs (.../HeightStructureEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructureEntity.cs (.../HeightStructureEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,20 +28,19 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class HeightStructureEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public HeightStructureEntity() { HeightStructuresCalculationEntities = new HashSet(); } - + public long HeightStructureEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public int Order { get; set; } @@ -63,10 +62,9 @@ public Nullable StorageStructureAreaCoefficientOfVariation { get; set; } public Nullable AllowedLevelIncreaseStorageMean { get; set; } public Nullable AllowedLevelIncreaseStorageStandardDeviation { get; set; } - + public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection HeightStructuresCalculationEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructuresCalculationEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructuresCalculationEntity.cs (.../HeightStructuresCalculationEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructuresCalculationEntity.cs (.../HeightStructuresCalculationEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,21 +28,20 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class HeightStructuresCalculationEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public HeightStructuresCalculationEntity() { HeightStructuresOutputEntities = new HashSet(); HeightStructuresSectionResultEntities = new HashSet(); } - + public long HeightStructuresCalculationEntityId { get; set; } public long CalculationGroupEntityId { get; set; } public Nullable HydraulicLocationEntityId { get; set; } @@ -51,19 +50,6 @@ public int Order { get; set; } public string Name { get; set; } public string Comments { get; set; } - public Nullable LevelCrestStructureMean { get; set; } - public Nullable LevelCrestStructureStandardDeviation { get; set; } - public Nullable DeviationWaveDirection { get; set; } - - public virtual CalculationGroupEntity CalculationGroupEntity { get; set; } - public virtual HeightStructureEntity HeightStructureEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection HeightStructuresOutputEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection HeightStructuresSectionResultEntities { get; set; } - public Nullable ModelFactorSuperCriticalFlowMean { get; set; } public Nullable StructureNormalOrientation { get; set; } public Nullable AllowedLevelIncreaseStorageMean { get; set; } @@ -78,11 +64,21 @@ public Nullable WidthFlowAperturesMean { get; set; } public Nullable WidthFlowAperturesCoefficientOfVariation { get; set; } public Nullable StormDurationMean { get; set; } + public Nullable LevelCrestStructureMean { get; set; } + public Nullable LevelCrestStructureStandardDeviation { get; set; } + public Nullable DeviationWaveDirection { get; set; } public byte UseBreakWater { get; set; } public byte UseForeshore { get; set; } public short BreakWaterType { get; set; } public Nullable BreakWaterHeight { get; set; } + + public virtual CalculationGroupEntity CalculationGroupEntity { get; set; } public virtual ForeshoreProfileEntity ForeshoreProfileEntity { get; set; } + public virtual HeightStructureEntity HeightStructureEntity { get; set; } public virtual HydraulicLocationEntity HydraulicLocationEntity { get; set; } + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection HeightStructuresOutputEntities { get; set; } + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection HeightStructuresSectionResultEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructuresFailureMechanismMetaEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructuresFailureMechanismMetaEntity.cs (.../HeightStructuresFailureMechanismMetaEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructuresFailureMechanismMetaEntity.cs (.../HeightStructuresFailureMechanismMetaEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -30,12 +30,15 @@ namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class HeightStructuresFailureMechanismMetaEntity { public long HeightStructuresFailureMechanismMetaEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public int N { get; set; } - + public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructuresOutputEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructuresOutputEntity.cs (.../HeightStructuresOutputEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructuresOutputEntity.cs (.../HeightStructuresOutputEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,20 +28,21 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class HeightStructuresOutputEntity { public long HeightStructuresOutputEntityId { get; set; } public long HeightStructuresCalculationEntityId { get; set; } - - public virtual HeightStructuresCalculationEntity HeightStructuresCalculationEntity { get; set; } public Nullable RequiredProbability { get; set; } public Nullable RequiredReliability { get; set; } public Nullable Probability { get; set; } public Nullable Reliability { get; set; } public Nullable FactorOfSafety { get; set; } + + public virtual HeightStructuresCalculationEntity HeightStructuresCalculationEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructuresSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructuresSectionResultEntity.cs (.../HeightStructuresSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HeightStructuresSectionResultEntity.cs (.../HeightStructuresSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,19 +28,20 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class HeightStructuresSectionResultEntity { public long HeightStructuresSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public Nullable HeightStructuresCalculationEntityId { get; set; } public byte LayerOne { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } public virtual HeightStructuresCalculationEntity HeightStructuresCalculationEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HydraulicLocationEntity.cs =================================================================== diff -u -rbfe36d6bae8c85e941d20cd6f150f022445d3ac2 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HydraulicLocationEntity.cs (.../HydraulicLocationEntity.cs) (revision bfe36d6bae8c85e941d20cd6f150f022445d3ac2) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HydraulicLocationEntity.cs (.../HydraulicLocationEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,15 +28,14 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class HydraulicLocationEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public HydraulicLocationEntity() { ClosingStructuresCalculationEntities = new HashSet(); @@ -48,39 +47,31 @@ StabilityStoneCoverWaveConditionsCalculationEntities = new HashSet(); WaveImpactAsphaltCoverWaveConditionsCalculationEntities = new HashSet(); } - + public long HydraulicLocationEntityId { get; set; } public long AssessmentSectionEntityId { get; set; } public long LocationId { get; set; } public string Name { get; set; } public Nullable LocationX { get; set; } public Nullable LocationY { get; set; } public int Order { get; set; } - + public virtual AssessmentSectionEntity AssessmentSectionEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection ClosingStructuresCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection GrassCoverErosionInwardsCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection HeightStructuresCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection HydraulicLocationOutputEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection PipingCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StabilityPointStructuresCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StabilityStoneCoverWaveConditionsCalculationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection WaveImpactAsphaltCoverWaveConditionsCalculationEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HydraulicLocationOutputEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HydraulicLocationOutputEntity.cs (.../HydraulicLocationOutputEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/HydraulicLocationOutputEntity.cs (.../HydraulicLocationOutputEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,22 +28,23 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class HydraulicLocationOutputEntity { public long HydraulicLocationEntityOutputId { get; set; } public long HydraulicLocationEntityId { get; set; } - - public virtual HydraulicLocationEntity HydraulicLocationEntity { get; set; } public byte HydraulicLocationOutputType { get; set; } public Nullable Result { get; set; } public Nullable TargetProbability { get; set; } public Nullable TargetReliability { get; set; } public Nullable CalculatedProbability { get; set; } public Nullable CalculatedReliability { get; set; } public byte CalculationConvergence { get; set; } + + public virtual HydraulicLocationEntity HydraulicLocationEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/MacrostabilityInwardsSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/MacrostabilityInwardsSectionResultEntity.cs (.../MacrostabilityInwardsSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/MacrostabilityInwardsSectionResultEntity.cs (.../MacrostabilityInwardsSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,18 +28,19 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class MacrostabilityInwardsSectionResultEntity { public long MacrostabilityInwardsSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public byte LayerOne { get; set; } public Nullable LayerTwoA { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/MacrostabilityOutwardsSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/MacrostabilityOutwardsSectionResultEntity.cs (.../MacrostabilityOutwardsSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/MacrostabilityOutwardsSectionResultEntity.cs (.../MacrostabilityOutwardsSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,18 +28,19 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class MacrostabilityOutwardsSectionResultEntity { public long MacrostabilityOutwardsSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public byte LayerOne { get; set; } public Nullable LayerTwoA { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/MicrostabilitySectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/MicrostabilitySectionResultEntity.cs (.../MicrostabilitySectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/MicrostabilitySectionResultEntity.cs (.../MicrostabilitySectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,18 +28,19 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class MicrostabilitySectionResultEntity { public long MicrostabilitySectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public byte LayerOne { get; set; } public byte LayerTwoA { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingCalculationEntity.cs =================================================================== diff -u -r1d4574dd23b04f1b4dfa71f93edc1910d151d705 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingCalculationEntity.cs (.../PipingCalculationEntity.cs) (revision 1d4574dd23b04f1b4dfa71f93edc1910d151d705) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingCalculationEntity.cs (.../PipingCalculationEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,21 +28,20 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class PipingCalculationEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public PipingCalculationEntity() { PipingCalculationOutputEntities = new HashSet(); PipingSemiProbabilisticOutputEntities = new HashSet(); } - + public long PipingCalculationEntityId { get; set; } public long CalculationGroupEntityId { get; set; } public Nullable SurfaceLineEntityId { get; set; } @@ -61,16 +60,14 @@ public Nullable ScenarioContribution { get; set; } public Nullable AssessmentLevel { get; set; } public byte UseAssessmentLevelManualInput { get; set; } - + public virtual CalculationGroupEntity CalculationGroupEntity { get; set; } public virtual HydraulicLocationEntity HydraulicLocationEntity { get; set; } public virtual SurfaceLineEntity SurfaceLineEntity { get; set; } public virtual StochasticSoilProfileEntity StochasticSoilProfileEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection PipingCalculationOutputEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection PipingSemiProbabilisticOutputEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingCalculationOutputEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingCalculationOutputEntity.cs (.../PipingCalculationOutputEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingCalculationOutputEntity.cs (.../PipingCalculationOutputEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,10 +28,11 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class PipingCalculationOutputEntity { public long PipingCalculationOutputEntityId { get; set; } @@ -47,7 +48,7 @@ public Nullable SellmeijerCreepCoefficient { get; set; } public Nullable SellmeijerCriticalFall { get; set; } public Nullable SellmeijerReducedFall { get; set; } - + public virtual PipingCalculationEntity PipingCalculationEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingFailureMechanismMetaEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingFailureMechanismMetaEntity.cs (.../PipingFailureMechanismMetaEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingFailureMechanismMetaEntity.cs (.../PipingFailureMechanismMetaEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -30,13 +30,16 @@ namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class PipingFailureMechanismMetaEntity { public long PipingFailureMechanismMetaEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public double A { get; set; } public double WaterVolumetricWeight { get; set; } - + public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingSectionResultEntity.cs (.../PipingSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingSectionResultEntity.cs (.../PipingSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,17 +28,18 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class PipingSectionResultEntity { public long PipingSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public byte LayerOne { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingSemiProbabilisticOutputEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingSemiProbabilisticOutputEntity.cs (.../PipingSemiProbabilisticOutputEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingSemiProbabilisticOutputEntity.cs (.../PipingSemiProbabilisticOutputEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,10 +28,11 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class PipingSemiProbabilisticOutputEntity { public long PipingSemiProbabilisticOutputEntityId { get; set; } @@ -51,7 +52,7 @@ public Nullable PipingProbability { get; set; } public Nullable PipingReliability { get; set; } public Nullable PipingFactorOfSafety { get; set; } - + public virtual PipingCalculationEntity PipingCalculationEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingStructureSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingStructureSectionResultEntity.cs (.../PipingStructureSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/PipingStructureSectionResultEntity.cs (.../PipingStructureSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,18 +28,19 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class PipingStructureSectionResultEntity { public long PipingStructureSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public byte LayerOne { get; set; } public byte LayerTwoA { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ProjectEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ProjectEntity.cs (.../ProjectEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/ProjectEntity.cs (.../ProjectEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,23 +28,23 @@ // //------------------------------------------------------------------------------ -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class ProjectEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public ProjectEntity() { AssessmentSectionEntities = new HashSet(); } - + public long ProjectEntityId { get; set; } public string Description { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection AssessmentSectionEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.Context.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.Context.cs (.../RingtoetsEntities.Context.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.Context.cs (.../RingtoetsEntities.Context.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -49,6 +49,7 @@ public virtual DbSet FailureMechanismSectionEntities { get; set; } public virtual DbSet ForeshoreProfileEntities { get; set; } public virtual DbSet GrassCoverErosionInwardsCalculationEntities { get; set; } + public virtual DbSet GrassCoverErosionInwardsDikeHeightOutputEntities { get; set; } public virtual DbSet GrassCoverErosionInwardsFailureMechanismMetaEntities { get; set; } public virtual DbSet GrassCoverErosionInwardsOutputEntities { get; set; } public virtual DbSet GrassCoverErosionInwardsSectionResultEntities { get; set; } @@ -97,7 +98,7 @@ public virtual DbSet WaveImpactAsphaltCoverSectionResultEntities { get; set; } public virtual DbSet WaveImpactAsphaltCoverWaveConditionsCalculationEntities { get; set; } public virtual DbSet WaveImpactAsphaltCoverWaveConditionsOutputEntities { get; set; } - + /// /// This method is called in a 'code first' approach when the model for a derived has been initialized, /// but before the model has been locked down and used to initialize the . Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx =================================================================== diff -u -rbfe36d6bae8c85e941d20cd6f150f022445d3ac2 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx (.../RingtoetsEntities.edmx) (revision bfe36d6bae8c85e941d20cd6f150f022445d3ac2) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx (.../RingtoetsEntities.edmx) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -242,6 +242,19 @@ + + + + + + + + + + + + + @@ -259,8 +272,6 @@ - - @@ -1230,6 +1241,18 @@ + + + + + + + + + + + + @@ -2013,6 +2036,7 @@ + @@ -2145,6 +2169,10 @@ + + + + @@ -2421,6 +2449,7 @@ + @@ -2713,6 +2742,10 @@ + + + + @@ -3125,6 +3158,20 @@ + + + + + + + + + + + + + + @@ -3143,14 +3190,13 @@ - - + @@ -4685,6 +4731,18 @@ + + + + + + + + + + + + @@ -5230,6 +5288,20 @@ + + + + + + + + + + + + + + @@ -5247,8 +5319,6 @@ - - Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx.diagram =================================================================== diff -u -rbfe36d6bae8c85e941d20cd6f150f022445d3ac2 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx.diagram (.../RingtoetsEntities.edmx.diagram) (revision bfe36d6bae8c85e941d20cd6f150f022445d3ac2) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/RingtoetsEntities.edmx.diagram (.../RingtoetsEntities.edmx.diagram) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -5,68 +5,69 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + @@ -128,6 +129,7 @@ + Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/SoilLayerEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/SoilLayerEntity.cs (.../SoilLayerEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/SoilLayerEntity.cs (.../SoilLayerEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,10 +28,11 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class SoilLayerEntity { public long SoilLayerEntityId { get; set; } @@ -48,7 +49,7 @@ public Nullable PermeabilityMean { get; set; } public Nullable PermeabilityDeviation { get; set; } public int Order { get; set; } - + public virtual SoilProfileEntity SoilProfileEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/SoilProfileEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/SoilProfileEntity.cs (.../SoilProfileEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/SoilProfileEntity.cs (.../SoilProfileEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,29 +28,27 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class SoilProfileEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public SoilProfileEntity() { SoilLayerEntities = new HashSet(); StochasticSoilProfileEntities = new HashSet(); } - + public long SoilProfileEntityId { get; set; } public Nullable Bottom { get; set; } public string Name { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection SoilLayerEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StochasticSoilProfileEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructureEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructureEntity.cs (.../StabilityPointStructureEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructureEntity.cs (.../StabilityPointStructureEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,20 +28,19 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class StabilityPointStructureEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public StabilityPointStructureEntity() { StabilityPointStructuresCalculationEntities = new HashSet(); } - + public long StabilityPointStructureEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public int Order { get; set; } @@ -94,10 +93,9 @@ public Nullable AreaFlowAperturesMean { get; set; } public Nullable AreaFlowAperturesStandardDeviation { get; set; } public byte InflowModelType { get; set; } - + public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StabilityPointStructuresCalculationEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructuresCalculationEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructuresCalculationEntity.cs (.../StabilityPointStructuresCalculationEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructuresCalculationEntity.cs (.../StabilityPointStructuresCalculationEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,21 +28,20 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class StabilityPointStructuresCalculationEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public StabilityPointStructuresCalculationEntity() { StabilityPointStructuresOutputEntities = new HashSet(); StabilityPointStructuresSectionResultEntities = new HashSet(); } - + public long StabilityPointStructuresCalculationEntityId { get; set; } public long CalculationGroupEntityId { get; set; } public Nullable ForeshoreProfileEntityId { get; set; } @@ -51,10 +50,25 @@ public int Order { get; set; } public string Name { get; set; } public string Comments { get; set; } + public byte UseBreakWater { get; set; } + public short BreakWaterType { get; set; } + public Nullable BreakWaterHeight { get; set; } + public byte UseForeshore { get; set; } + public Nullable StructureNormalOrientation { get; set; } + public Nullable StorageStructureAreaMean { get; set; } + public Nullable StorageStructureAreaCoefficientOfVariation { get; set; } + public Nullable AllowedLevelIncreaseStorageMean { get; set; } + public Nullable AllowedLevelIncreaseStorageStandardDeviation { get; set; } + public Nullable WidthFlowAperturesMean { get; set; } + public Nullable WidthFlowAperturesCoefficientOfVariation { get; set; } public Nullable InsideWaterLevelMean { get; set; } public Nullable InsideWaterLevelStandardDeviation { get; set; } public Nullable ThresholdHeightOpenWeirMean { get; set; } public Nullable ThresholdHeightOpenWeirStandardDeviation { get; set; } + public Nullable CriticalOvertoppingDischargeMean { get; set; } + public Nullable CriticalOvertoppingDischargeCoefficientOfVariation { get; set; } + public Nullable FlowWidthAtBottomProtectionMean { get; set; } + public Nullable FlowWidthAtBottomProtectionStandardDeviation { get; set; } public Nullable ConstructiveStrengthLinearLoadModelMean { get; set; } public Nullable ConstructiveStrengthLinearLoadModelCoefficientOfVariation { get; set; } public Nullable ConstructiveStrengthQuadraticLoadModelMean { get; set; } @@ -87,37 +101,19 @@ public byte InflowModelType { get; set; } public byte LoadSchematizationType { get; set; } public Nullable VolumicWeightWater { get; set; } + public Nullable StormDurationMean { get; set; } + public Nullable ModelFactorSuperCriticalFlowMean { get; set; } public Nullable FactorStormDurationOpenStructure { get; set; } public Nullable DrainCoefficientMean { get; set; } - + public double FailureProbabilityStructureWithErosion { get; set; } + public virtual CalculationGroupEntity CalculationGroupEntity { get; set; } + public virtual ForeshoreProfileEntity ForeshoreProfileEntity { get; set; } + public virtual HydraulicLocationEntity HydraulicLocationEntity { get; set; } public virtual StabilityPointStructureEntity StabilityPointStructureEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StabilityPointStructuresOutputEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StabilityPointStructuresSectionResultEntities { get; set; } - - public byte UseBreakWater { get; set; } - public short BreakWaterType { get; set; } - public Nullable BreakWaterHeight { get; set; } - public byte UseForeshore { get; set; } - public Nullable StructureNormalOrientation { get; set; } - public Nullable StorageStructureAreaMean { get; set; } - public Nullable StorageStructureAreaCoefficientOfVariation { get; set; } - public Nullable AllowedLevelIncreaseStorageMean { get; set; } - public Nullable AllowedLevelIncreaseStorageStandardDeviation { get; set; } - public Nullable WidthFlowAperturesMean { get; set; } - public Nullable WidthFlowAperturesCoefficientOfVariation { get; set; } - public Nullable CriticalOvertoppingDischargeMean { get; set; } - public Nullable CriticalOvertoppingDischargeCoefficientOfVariation { get; set; } - public Nullable FlowWidthAtBottomProtectionMean { get; set; } - public Nullable FlowWidthAtBottomProtectionStandardDeviation { get; set; } - public Nullable StormDurationMean { get; set; } - public Nullable ModelFactorSuperCriticalFlowMean { get; set; } - public double FailureProbabilityStructureWithErosion { get; set; } - public virtual ForeshoreProfileEntity ForeshoreProfileEntity { get; set; } - public virtual HydraulicLocationEntity HydraulicLocationEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructuresFailureMechanismMetaEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructuresFailureMechanismMetaEntity.cs (.../StabilityPointStructuresFailureMechanismMetaEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructuresFailureMechanismMetaEntity.cs (.../StabilityPointStructuresFailureMechanismMetaEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -30,12 +30,15 @@ namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class StabilityPointStructuresFailureMechanismMetaEntity { public long StrengthStabilityPointConstructionFailureMechanismMetaEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public int N { get; set; } - + public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructuresOutputEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructuresOutputEntity.cs (.../StabilityPointStructuresOutputEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructuresOutputEntity.cs (.../StabilityPointStructuresOutputEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,20 +28,21 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class StabilityPointStructuresOutputEntity { public long StabilityPointStructuresOutputEntity1 { get; set; } public long StabilityPointStructuresCalculationEntityId { get; set; } - - public virtual StabilityPointStructuresCalculationEntity StabilityPointStructuresCalculationEntity { get; set; } public Nullable RequiredProbability { get; set; } public Nullable RequiredReliability { get; set; } public Nullable Probability { get; set; } public Nullable Reliability { get; set; } public Nullable FactorOfSafety { get; set; } + + public virtual StabilityPointStructuresCalculationEntity StabilityPointStructuresCalculationEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructuresSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructuresSectionResultEntity.cs (.../StabilityPointStructuresSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityPointStructuresSectionResultEntity.cs (.../StabilityPointStructuresSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,19 +28,20 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class StabilityPointStructuresSectionResultEntity { public long StabilityPointStructuresSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public Nullable StabilityPointStructuresCalculationEntityId { get; set; } public byte LayerOne { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } public virtual StabilityPointStructuresCalculationEntity StabilityPointStructuresCalculationEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityStoneCoverSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityStoneCoverSectionResultEntity.cs (.../StabilityStoneCoverSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityStoneCoverSectionResultEntity.cs (.../StabilityStoneCoverSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,18 +28,19 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class StabilityStoneCoverSectionResultEntity { public long StabilityStoneCoverSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public byte LayerOne { get; set; } public byte LayerTwoA { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityStoneCoverWaveConditionsCalculationEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityStoneCoverWaveConditionsCalculationEntity.cs (.../StabilityStoneCoverWaveConditionsCalculationEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityStoneCoverWaveConditionsCalculationEntity.cs (.../StabilityStoneCoverWaveConditionsCalculationEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,20 +28,19 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class StabilityStoneCoverWaveConditionsCalculationEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public StabilityStoneCoverWaveConditionsCalculationEntity() { StabilityStoneCoverWaveConditionsOutputEntities = new HashSet(); } - + public long StabilityStoneCoverWaveConditionsCalculationEntityId { get; set; } public long CalculationGroupEntityId { get; set; } public Nullable ForeshoreProfileEntityId { get; set; } @@ -59,12 +58,11 @@ public Nullable UpperBoundaryWaterLevels { get; set; } public Nullable LowerBoundaryWaterLevels { get; set; } public byte StepSize { get; set; } - + public virtual CalculationGroupEntity CalculationGroupEntity { get; set; } public virtual ForeshoreProfileEntity ForeshoreProfileEntity { get; set; } public virtual HydraulicLocationEntity HydraulicLocationEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StabilityStoneCoverWaveConditionsOutputEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityStoneCoverWaveConditionsOutputEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityStoneCoverWaveConditionsOutputEntity.cs (.../StabilityStoneCoverWaveConditionsOutputEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StabilityStoneCoverWaveConditionsOutputEntity.cs (.../StabilityStoneCoverWaveConditionsOutputEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,10 +28,11 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class StabilityStoneCoverWaveConditionsOutputEntity { public long StabilityStoneCoverWaveConditionsOutputEntityId { get; set; } @@ -48,7 +49,7 @@ public Nullable CalculatedProbability { get; set; } public Nullable CalculatedReliability { get; set; } public byte CalculationConvergence { get; set; } - + public virtual StabilityStoneCoverWaveConditionsCalculationEntity StabilityStoneCoverWaveConditionsCalculationEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StochasticSoilModelEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StochasticSoilModelEntity.cs (.../StochasticSoilModelEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StochasticSoilModelEntity.cs (.../StochasticSoilModelEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,29 +28,28 @@ // //------------------------------------------------------------------------------ -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class StochasticSoilModelEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public StochasticSoilModelEntity() { StochasticSoilProfileEntities = new HashSet(); } - + public long StochasticSoilModelEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public string Name { get; set; } public string SegmentName { get; set; } public string StochasticSoilModelSegmentPointXml { get; set; } public int Order { get; set; } - + public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection StochasticSoilProfileEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StochasticSoilProfileEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StochasticSoilProfileEntity.cs (.../StochasticSoilProfileEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StochasticSoilProfileEntity.cs (.../StochasticSoilProfileEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,30 +28,28 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class StochasticSoilProfileEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public StochasticSoilProfileEntity() { PipingCalculationEntities = new HashSet(); } - + public long StochasticSoilProfileEntityId { get; set; } public long SoilProfileEntityId { get; set; } public long StochasticSoilModelEntityId { get; set; } public Nullable Probability { get; set; } public int Order { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection PipingCalculationEntities { get; set; } - public virtual SoilProfileEntity SoilProfileEntity { get; set; } public virtual StochasticSoilModelEntity StochasticSoilModelEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StrengthStabilityLengthwiseConstructionSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StrengthStabilityLengthwiseConstructionSectionResultEntity.cs (.../StrengthStabilityLengthwiseConstructionSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/StrengthStabilityLengthwiseConstructionSectionResultEntity.cs (.../StrengthStabilityLengthwiseConstructionSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,17 +28,18 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class StrengthStabilityLengthwiseConstructionSectionResultEntity { public long StrengthStabilityLengthwiseConstructionSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public byte LayerOne { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/SurfaceLineEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/SurfaceLineEntity.cs (.../SurfaceLineEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/SurfaceLineEntity.cs (.../SurfaceLineEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,35 +28,32 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class SurfaceLineEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public SurfaceLineEntity() { CharacteristicPointEntities = new HashSet(); PipingCalculationEntities = new HashSet(); } - + public long SurfaceLineEntityId { get; set; } public long FailureMechanismEntityId { get; set; } public string Name { get; set; } public Nullable ReferenceLineIntersectionX { get; set; } public Nullable ReferenceLineIntersectionY { get; set; } public string PointsXml { get; set; } public int Order { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection CharacteristicPointEntities { get; set; } - public virtual FailureMechanismEntity FailureMechanismEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection PipingCalculationEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/TechnicalInnovationSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/TechnicalInnovationSectionResultEntity.cs (.../TechnicalInnovationSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/TechnicalInnovationSectionResultEntity.cs (.../TechnicalInnovationSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,17 +28,18 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class TechnicalInnovationSectionResultEntity { public long TechnicalInnovationSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public byte LayerOne { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/VersionEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/VersionEntity.cs (.../VersionEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/VersionEntity.cs (.../VersionEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,15 +28,16 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class VersionEntity { public long VersionId { get; set; } public long Version { get; set; } - public DateTime Timestamp { get; set; } + public System.DateTime Timestamp { get; set; } public byte[] FingerPrint { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/WaterPressureAsphaltCoverSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/WaterPressureAsphaltCoverSectionResultEntity.cs (.../WaterPressureAsphaltCoverSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/WaterPressureAsphaltCoverSectionResultEntity.cs (.../WaterPressureAsphaltCoverSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,17 +28,18 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class WaterPressureAsphaltCoverSectionResultEntity { public long WaterPressureAsphaltCoverSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public byte LayerOne { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/WaveImpactAsphaltCoverSectionResultEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/WaveImpactAsphaltCoverSectionResultEntity.cs (.../WaveImpactAsphaltCoverSectionResultEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/WaveImpactAsphaltCoverSectionResultEntity.cs (.../WaveImpactAsphaltCoverSectionResultEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,18 +28,19 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class WaveImpactAsphaltCoverSectionResultEntity { public long WaveImpactAsphaltCoverSectionResultEntityId { get; set; } public long FailureMechanismSectionEntityId { get; set; } public byte LayerOne { get; set; } public byte LayerTwoA { get; set; } public Nullable LayerThree { get; set; } - + public virtual FailureMechanismSectionEntity FailureMechanismSectionEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/WaveImpactAsphaltCoverWaveConditionsCalculationEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/WaveImpactAsphaltCoverWaveConditionsCalculationEntity.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/WaveImpactAsphaltCoverWaveConditionsCalculationEntity.cs (.../WaveImpactAsphaltCoverWaveConditionsCalculationEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,20 +28,19 @@ // //------------------------------------------------------------------------------ -using System; -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class WaveImpactAsphaltCoverWaveConditionsCalculationEntity { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] public WaveImpactAsphaltCoverWaveConditionsCalculationEntity() { WaveImpactAsphaltCoverWaveConditionsOutputEntities = new HashSet(); } - + public long WaveImpactAsphaltCoverWaveConditionsCalculationEntityId { get; set; } public long CalculationGroupEntityId { get; set; } public Nullable ForeshoreProfileEntityId { get; set; } @@ -59,12 +58,11 @@ public Nullable UpperBoundaryWaterLevels { get; set; } public Nullable LowerBoundaryWaterLevels { get; set; } public byte StepSize { get; set; } - + public virtual CalculationGroupEntity CalculationGroupEntity { get; set; } public virtual ForeshoreProfileEntity ForeshoreProfileEntity { get; set; } public virtual HydraulicLocationEntity HydraulicLocationEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] public virtual ICollection WaveImpactAsphaltCoverWaveConditionsOutputEntities { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/WaveImpactAsphaltCoverWaveConditionsOutputEntity.cs =================================================================== diff -u -radad3efa74d1c217511617b7e7fa602c0c867ac1 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/WaveImpactAsphaltCoverWaveConditionsOutputEntity.cs (.../WaveImpactAsphaltCoverWaveConditionsOutputEntity.cs) (revision adad3efa74d1c217511617b7e7fa602c0c867ac1) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/WaveImpactAsphaltCoverWaveConditionsOutputEntity.cs (.../WaveImpactAsphaltCoverWaveConditionsOutputEntity.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -28,10 +28,11 @@ // //------------------------------------------------------------------------------ -using System; - namespace Application.Ringtoets.Storage.DbContext { + using System; + using System.Collections.Generic; + public partial class WaveImpactAsphaltCoverWaveConditionsOutputEntity { public long WaveImpactAsphaltCoverWaveConditionsOutputEntityId { get; set; } @@ -47,7 +48,7 @@ public Nullable CalculatedProbability { get; set; } public Nullable CalculatedReliability { get; set; } public byte CalculationConvergence { get; set; } - + public virtual WaveImpactAsphaltCoverWaveConditionsCalculationEntity WaveImpactAsphaltCoverWaveConditionsCalculationEntity { get; set; } } -} \ No newline at end of file +} Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsDikeHeightOutputEntityReadExtensions.cs =================================================================== diff -u --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsDikeHeightOutputEntityReadExtensions.cs (revision 0) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsDikeHeightOutputEntityReadExtensions.cs (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -0,0 +1,49 @@ +// Copyright (C) Stichting Deltares 2016. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using Application.Ringtoets.Storage.DbContext; +using Ringtoets.Common.Data.Hydraulics; +using Ringtoets.GrassCoverErosionInwards.Data; + +namespace Application.Ringtoets.Storage.Read.GrassCoverErosionInwards +{ + /// + /// Extension methods for related to creating + /// a . + /// + internal static class GrassCoverErosionInwardsDikeHeightOutputEntityReadExtensions + { + /// + /// Read the and use the information to construct a . + /// + /// The to create for. + /// A new . + internal static DikeHeightAssessmentOutput Read(this GrassCoverErosionInwardsDikeHeightOutputEntity entity) + { + return new DikeHeightAssessmentOutput(entity.DikeHeight.ToNullAsNaN(), + entity.TargetProbability.ToNullAsNaN(), + entity.TargetReliability.ToNullAsNaN(), + entity.CalculatedProbability.ToNullAsNaN(), + entity.CalculatedReliability.ToNullAsNaN(), + (CalculationConvergence)entity.CalculationConvergence); + } + } +} \ No newline at end of file Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsOutputEntityReadExtensions.cs =================================================================== diff -u -rd56bec747401ad6676fac64af5eef6d5fd89c47c -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsOutputEntityReadExtensions.cs (.../GrassCoverErosionInwardsOutputEntityReadExtensions.cs) (revision d56bec747401ad6676fac64af5eef6d5fd89c47c) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsOutputEntityReadExtensions.cs (.../GrassCoverErosionInwardsOutputEntityReadExtensions.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -20,8 +20,8 @@ // All rights reserved. using System; +using System.Linq; using Application.Ringtoets.Storage.DbContext; -using Ringtoets.Common.Data.Hydraulics; using Ringtoets.Common.Data.Probability; using Ringtoets.GrassCoverErosionInwards.Data; @@ -45,7 +45,7 @@ return new GrassCoverErosionInwardsOutput(entity.WaveHeight.ToNullAsNaN(), Convert.ToBoolean(entity.IsOvertoppingDominant), ReadProbabilityAssessmentOutput(entity), - GetDikeHeightValue(entity)); + GetDikeHeight(entity)); } private static ProbabilityAssessmentOutput ReadProbabilityAssessmentOutput(GrassCoverErosionInwardsOutputEntity entity) @@ -57,15 +57,10 @@ entity.FactorOfSafety.ToNullAsNaN()); } - private static DikeHeightAssessmentOutput GetDikeHeightValue(GrassCoverErosionInwardsOutputEntity entity) + private static DikeHeightAssessmentOutput GetDikeHeight(GrassCoverErosionInwardsOutputEntity entity) { - if (Convert.ToBoolean(entity.IsDikeHeightCalculated)) - { - return new DikeHeightAssessmentOutput(entity.DikeHeight.ToNullAsNaN(), double.NaN, - double.NaN, double.NaN, double.NaN, - CalculationConvergence.NotCalculated); - } - return null; + GrassCoverErosionInwardsDikeHeightOutputEntity dikeHeightOutputEntity = entity.GrassCoverErosionInwardsDikeHeightOutputEntities.FirstOrDefault(); + return dikeHeightOutputEntity != null ? dikeHeightOutputEntity.Read() : null; } } } \ No newline at end of file Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsOutputCreateExtensionsTest.cs =================================================================== diff -u -rd56bec747401ad6676fac64af5eef6d5fd89c47c -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsOutputCreateExtensionsTest.cs (.../GrassCoverErosionInwardsOutputCreateExtensionsTest.cs) (revision d56bec747401ad6676fac64af5eef6d5fd89c47c) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/GrassCoverErosionInwards/GrassCoverErosionInwardsOutputCreateExtensionsTest.cs (.../GrassCoverErosionInwardsOutputCreateExtensionsTest.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -20,11 +20,13 @@ // All rights reserved. using System; +using System.Linq; using Application.Ringtoets.Storage.Create.GrassCoverErosionInwards; using Application.Ringtoets.Storage.DbContext; using NUnit.Framework; using Ringtoets.Common.Data.Hydraulics; using Ringtoets.Common.Data.Probability; +using Ringtoets.Common.Data.TestUtil; using Ringtoets.GrassCoverErosionInwards.Data; namespace Application.Ringtoets.Storage.Test.Create.GrassCoverErosionInwards @@ -50,8 +52,6 @@ GrassCoverErosionInwardsOutputEntity entity = output.Create(); // Assert - Assert.AreEqual(output.DikeHeight.Value, entity.DikeHeight); - Assert.AreEqual(Convert.ToByte(output.DikeHeightCalculated), entity.IsDikeHeightCalculated); Assert.AreEqual(output.WaveHeight.Value, entity.WaveHeight); Assert.AreEqual(Convert.ToByte(output.IsOvertoppingDominant), entity.IsOvertoppingDominant); @@ -60,6 +60,14 @@ Assert.AreEqual(probabilityAssessmentOutput.Reliability.Value, entity.Reliability); Assert.AreEqual(probabilityAssessmentOutput.RequiredProbability, entity.RequiredProbability); Assert.AreEqual(probabilityAssessmentOutput.RequiredReliability.Value, entity.RequiredReliability); + + var dikeHeightEntity = entity.GrassCoverErosionInwardsDikeHeightOutputEntities.First(); + Assert.AreEqual(dikeHeightAssessmentOutput.Result.Value, dikeHeightEntity.DikeHeight); + Assert.AreEqual(dikeHeightAssessmentOutput.TargetProbability, dikeHeightEntity.TargetProbability); + Assert.AreEqual(dikeHeightAssessmentOutput.TargetReliability, dikeHeightEntity.TargetReliability, dikeHeightAssessmentOutput.TargetReliability.GetAccuracy()); + Assert.AreEqual(dikeHeightAssessmentOutput.CalculatedProbability, dikeHeightEntity.CalculatedProbability); + Assert.AreEqual(dikeHeightAssessmentOutput.CalculatedReliability, dikeHeightEntity.CalculatedReliability, dikeHeightAssessmentOutput.CalculatedReliability.GetAccuracy()); + Assert.AreEqual((byte)dikeHeightAssessmentOutput.CalculationConvergence, dikeHeightEntity.CalculationConvergence); } [Test] @@ -74,10 +82,8 @@ GrassCoverErosionInwardsOutputEntity entity = output.Create(); // Assert - Assert.IsNull(entity.DikeHeight); Assert.IsNull(entity.WaveHeight); Assert.AreEqual(Convert.ToByte(output.IsOvertoppingDominant), entity.IsOvertoppingDominant); - Assert.AreEqual(Convert.ToByte(true), entity.IsDikeHeightCalculated); Assert.IsNull(entity.FactorOfSafety); Assert.IsNull(entity.Probability); Assert.IsNull(entity.Reliability); @@ -86,7 +92,7 @@ } [Test] - public void Create_DikeHeightIsNull_PersistDikeHeightAsNullToRepresentNaN() + public void Create_DikeHeightIsNull_NoDikeHeightOutputEntityCreated() { // Setup var probabilityAssessmentOutput = new ProbabilityAssessmentOutput(1, 1, 1, 1, 1); @@ -96,8 +102,7 @@ GrassCoverErosionInwardsOutputEntity entity = output.Create(); // Assert - Assert.IsNull(entity.DikeHeight); - Assert.AreEqual(Convert.ToByte(false), entity.IsDikeHeightCalculated); + Assert.IsFalse(entity.GrassCoverErosionInwardsDikeHeightOutputEntities.Any()); } } } \ No newline at end of file Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/HydraulicBoundaryLocationOutputCreateExtensionsTest.cs =================================================================== diff -u -r7a7526e4ff1bccf09b09fadcfd309a725c6494b9 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/HydraulicBoundaryLocationOutputCreateExtensionsTest.cs (.../HydraulicBoundaryLocationOutputCreateExtensionsTest.cs) (revision 7a7526e4ff1bccf09b09fadcfd309a725c6494b9) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/HydraulicBoundaryLocationOutputCreateExtensionsTest.cs (.../HydraulicBoundaryLocationOutputCreateExtensionsTest.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -85,13 +85,13 @@ public void CreateGrassCoverErosionOutwardsHydraulicLocationOutputEntity_WithValidParameters_ReturnsHydraulicLocationEntityWithOutputSet( [Values(HydraulicLocationOutputType.DesignWaterLevel, HydraulicLocationOutputType.WaveHeight)] HydraulicLocationOutputType outputType, [Values(CalculationConvergence.CalculatedConverged, CalculationConvergence.CalculatedNotConverged, - CalculationConvergence.NotCalculated)] CalculationConvergence designWaterLevelConvergence) + CalculationConvergence.NotCalculated)] CalculationConvergence convergence) { // Setup var random = new Random(21); var output = new HydraulicBoundaryLocationOutput( random.NextDouble(), random.NextDouble(), random.NextDouble(), random.NextDouble(), - random.NextDouble(), designWaterLevelConvergence); + random.NextDouble(), convergence); // Call GrassCoverErosionOutwardsHydraulicLocationOutputEntity entity = output.Create(outputType); Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsOutputEntityReadExtensionsTest.cs =================================================================== diff -u -rfa2d88ba58e524c1d132a21df4e0adf9fa6570c4 -rfcc2776f9c6b0e607a661c46b83b54de514f175e --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsOutputEntityReadExtensionsTest.cs (.../GrassCoverErosionInwardsOutputEntityReadExtensionsTest.cs) (revision fa2d88ba58e524c1d132a21df4e0adf9fa6570c4) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Read/GrassCoverErosionInwards/GrassCoverErosionInwardsOutputEntityReadExtensionsTest.cs (.../GrassCoverErosionInwardsOutputEntityReadExtensionsTest.cs) (revision fcc2776f9c6b0e607a661c46b83b54de514f175e) @@ -38,8 +38,6 @@ { WaveHeight = 1.1, IsOvertoppingDominant = Convert.ToByte(false), - DikeHeight = 3.3, - IsDikeHeightCalculated = Convert.ToByte(true), Probability = 0.7, RequiredProbability = 0.4, RequiredReliability = 0.5, @@ -53,8 +51,7 @@ // Assert Assert.AreEqual(entity.WaveHeight, output.WaveHeight.Value); Assert.IsFalse(output.IsOvertoppingDominant); - Assert.AreEqual(entity.DikeHeight, output.DikeHeight.Value); - Assert.IsTrue(output.DikeHeightCalculated); + Assert.IsFalse(output.DikeHeightCalculated); Assert.AreEqual(entity.FactorOfSafety, output.ProbabilityAssessmentOutput.FactorOfSafety.Value); Assert.AreEqual(entity.Probability, output.ProbabilityAssessmentOutput.Probability); Assert.AreEqual(entity.RequiredProbability, output.ProbabilityAssessmentOutput.RequiredProbability); @@ -70,8 +67,6 @@ { WaveHeight = null, IsOvertoppingDominant = Convert.ToByte(true), - DikeHeight = null, - IsDikeHeightCalculated = Convert.ToByte(true), Probability = null, RequiredProbability = null, RequiredReliability = null, @@ -86,30 +81,13 @@ Assert.IsNaN(output.WaveHeight); Assert.IsTrue(output.IsOvertoppingDominant); Assert.IsNaN(output.DikeHeight); - Assert.IsTrue(output.DikeHeightCalculated); + Assert.IsFalse(output.DikeHeightCalculated); Assert.IsNaN(output.ProbabilityAssessmentOutput.FactorOfSafety.Value); Assert.IsNaN(output.ProbabilityAssessmentOutput.Probability); Assert.IsNaN(output.ProbabilityAssessmentOutput.RequiredProbability); Assert.IsNaN(output.ProbabilityAssessmentOutput.Reliability.Value); Assert.IsNaN(output.ProbabilityAssessmentOutput.RequiredReliability.Value); + Assert.IsNull(output.DikeHeightAssessmentOutput); } - - [Test] - public void Read_DikeHeightNotCalculated_ReturnGrassCoverErosionInwardsOutputWithNotCalculatedDikeHeight() - { - // Setup - var entity = new GrassCoverErosionInwardsOutputEntity - { - DikeHeight = null, - IsDikeHeightCalculated = Convert.ToByte(false) - }; - - // Call - GrassCoverErosionInwardsOutput output = entity.Read(); - - // Assert - Assert.IsNaN(output.DikeHeight); - Assert.IsFalse(output.DikeHeightCalculated); - } } } \ No newline at end of file