Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StochasticSoilModelCreateExtensions.cs =================================================================== diff -u -r5969ec704a34c08bc99fb44f826f7b89e19340de -r71123d9c364c97a5ef2eec81acd1bf877a1297b0 --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StochasticSoilModelCreateExtensions.cs (.../StochasticSoilModelCreateExtensions.cs) (revision 5969ec704a34c08bc99fb44f826f7b89e19340de) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StochasticSoilModelCreateExtensions.cs (.../StochasticSoilModelCreateExtensions.cs) (revision 71123d9c364c97a5ef2eec81acd1bf877a1297b0) @@ -37,7 +37,7 @@ /// The object keeping track of create operations. /// A new . /// Thrown when is null. - internal static StochasticSoilModelEntity Create(this StochasticSoilModel model, CreateConversionCollector collector) + internal static StochasticSoilModelEntity Create(this StochasticSoilModel model, PersistenceRegistry collector) { if (collector == null) { @@ -52,11 +52,11 @@ AddEntitiesForStochasticSoilProfiles(model, collector, entity); - collector.Create(entity, model); + collector.Register(entity, model); return entity; } - private static void AddEntitiesForStochasticSoilProfiles(StochasticSoilModel model, CreateConversionCollector collector, StochasticSoilModelEntity entity) + private static void AddEntitiesForStochasticSoilProfiles(StochasticSoilModel model, PersistenceRegistry collector, StochasticSoilModelEntity entity) { foreach (var stochasticSoilProfile in model.StochasticSoilProfiles) {