Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StochasticSoilProfileCreateExtensions.cs =================================================================== diff -u -rae6f0c6b534ca650e160ae6d9c0bc90369d25c68 -r6a9a423fddb189769e43cc9d69d4dd828a6f68e2 --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StochasticSoilProfileCreateExtensions.cs (.../StochasticSoilProfileCreateExtensions.cs) (revision ae6f0c6b534ca650e160ae6d9c0bc90369d25c68) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StochasticSoilProfileCreateExtensions.cs (.../StochasticSoilProfileCreateExtensions.cs) (revision 6a9a423fddb189769e43cc9d69d4dd828a6f68e2) @@ -44,6 +44,10 @@ Probability = Convert.ToDecimal(profile.Probability), SoilProfileEntity = profile.SoilProfile.Create(registry) }; + if (registry.Contains(profile)) + { + return registry.Get(profile); + } registry.Register(entity, profile); return entity;