Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/PipingSoilLayerCreateExtensions.cs =================================================================== diff -u -r5969ec704a34c08bc99fb44f826f7b89e19340de -r71123d9c364c97a5ef2eec81acd1bf877a1297b0 --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/PipingSoilLayerCreateExtensions.cs (.../PipingSoilLayerCreateExtensions.cs) (revision 5969ec704a34c08bc99fb44f826f7b89e19340de) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/PipingSoilLayerCreateExtensions.cs (.../PipingSoilLayerCreateExtensions.cs) (revision 71123d9c364c97a5ef2eec81acd1bf877a1297b0) @@ -37,7 +37,7 @@ /// The object keeping track of create operations. /// A new . /// Thrown when is null. - internal static SoilLayerEntity Create(this PipingSoilLayer layer, CreateConversionCollector collector) + internal static SoilLayerEntity Create(this PipingSoilLayer layer, PersistenceRegistry collector) { if (collector == null) { @@ -50,7 +50,7 @@ Top = Convert.ToDecimal(layer.Top) }; - collector.Create(entity, layer); + collector.Register(entity, layer); return entity; } }