Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StochasticSoilProfileCreateExtensions.cs =================================================================== diff -u -r5969ec704a34c08bc99fb44f826f7b89e19340de -r71123d9c364c97a5ef2eec81acd1bf877a1297b0 --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StochasticSoilProfileCreateExtensions.cs (.../StochasticSoilProfileCreateExtensions.cs) (revision 5969ec704a34c08bc99fb44f826f7b89e19340de) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StochasticSoilProfileCreateExtensions.cs (.../StochasticSoilProfileCreateExtensions.cs) (revision 71123d9c364c97a5ef2eec81acd1bf877a1297b0) @@ -37,15 +37,15 @@ /// The object keeping track of create operations. /// A new . /// Thrown when is null. - internal static StochasticSoilProfileEntity Create(this StochasticSoilProfile profile, CreateConversionCollector collector) + internal static StochasticSoilProfileEntity Create(this StochasticSoilProfile profile, PersistenceRegistry collector) { var entity = new StochasticSoilProfileEntity { Probability = Convert.ToDecimal(profile.Probability), SoilProfileEntity = profile.SoilProfile.Create(collector) }; - collector.Create(entity, profile); + collector.Register(entity, profile); return entity; } }