Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/WaveConditionsOutputCreateExtensions.cs =================================================================== diff -u -r52207b1b9ba8ad1c1743bbf31d58de7bb46192b8 -r7ae9100ff4e61169edcefaeb01b72d492431742f --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/WaveConditionsOutputCreateExtensions.cs (.../WaveConditionsOutputCreateExtensions.cs) (revision 52207b1b9ba8ad1c1743bbf31d58de7bb46192b8) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/WaveConditionsOutputCreateExtensions.cs (.../WaveConditionsOutputCreateExtensions.cs) (revision 7ae9100ff4e61169edcefaeb01b72d492431742f) @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using Application.Ringtoets.Storage.DbContext; using Ringtoets.Revetment.Data; @@ -38,16 +37,10 @@ /// The calculation output for grass cover erosion outwards failure mechanism to /// create a database entity for. /// The position of in the list of all outputs. - /// The object keeping track of create operations. /// A new . - /// Thrown when is null. internal static GrassCoverErosionOutwardsWaveConditionsOutputEntity CreateGrassCoverErosionOutwardsWaveConditionsOutputEntity( - this WaveConditionsOutput output, int order, PersistenceRegistry registry) + this WaveConditionsOutput output, int order) { - if (registry == null) - { - throw new ArgumentNullException("registry"); - } var entity = new GrassCoverErosionOutwardsWaveConditionsOutputEntity { Order = order, @@ -67,16 +60,10 @@ /// create a database entity for. /// The type of the . /// The position of in the list of all outputs. - /// The object keeping track of create operations. /// A new . - /// Thrown when is null. internal static StabilityStoneCoverWaveConditionsOutputEntity CreateStabilityStoneCoverWaveConditionsOutputEntity( - this WaveConditionsOutput output, WaveConditionsOutputType type, int order, PersistenceRegistry registry) + this WaveConditionsOutput output, WaveConditionsOutputType type, int order) { - if (registry == null) - { - throw new ArgumentNullException("registry"); - } var entity = new StabilityStoneCoverWaveConditionsOutputEntity { Order = order, @@ -96,16 +83,10 @@ /// The calculation output for wave impact asphalt cover mechanism to /// create a database entity for. /// The position of in the list of all outputs. - /// The object keeping track of create operations. /// A new . - /// Thrown when is null. internal static WaveImpactAsphaltCoverWaveConditionsOutputEntity CreateWaveImpactAsphaltCoverWaveConditionsOutputEntity( - this WaveConditionsOutput output, int order, PersistenceRegistry registry) + this WaveConditionsOutput output, int order) { - if (registry == null) - { - throw new ArgumentNullException("registry"); - } var entity = new WaveImpactAsphaltCoverWaveConditionsOutputEntity { Order = order,