Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/PipingSoilLayerCreateExtensions.cs =================================================================== diff -u -r71123d9c364c97a5ef2eec81acd1bf877a1297b0 -rae6f0c6b534ca650e160ae6d9c0bc90369d25c68 --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/PipingSoilLayerCreateExtensions.cs (.../PipingSoilLayerCreateExtensions.cs) (revision 71123d9c364c97a5ef2eec81acd1bf877a1297b0) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/PipingSoilLayerCreateExtensions.cs (.../PipingSoilLayerCreateExtensions.cs) (revision ae6f0c6b534ca650e160ae6d9c0bc90369d25c68) @@ -34,14 +34,14 @@ /// Creates a based on the information of the . /// /// The layer to create a database entity for. - /// The object keeping track of create operations. + /// The object keeping track of create operations. /// A new . - /// Thrown when is null. - internal static SoilLayerEntity Create(this PipingSoilLayer layer, PersistenceRegistry collector) + /// Thrown when is null. + internal static SoilLayerEntity Create(this PipingSoilLayer layer, PersistenceRegistry registry) { - if (collector == null) + if (registry == null) { - throw new ArgumentNullException("collector"); + throw new ArgumentNullException("registry"); } var entity = new SoilLayerEntity @@ -50,7 +50,7 @@ Top = Convert.ToDecimal(layer.Top) }; - collector.Register(entity, layer); + registry.Register(entity, layer); return entity; } }