Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StochasticSoilModelCreateExtensions.cs
===================================================================
diff -u -r71123d9c364c97a5ef2eec81acd1bf877a1297b0 -rae6f0c6b534ca650e160ae6d9c0bc90369d25c68
--- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StochasticSoilModelCreateExtensions.cs (.../StochasticSoilModelCreateExtensions.cs) (revision 71123d9c364c97a5ef2eec81acd1bf877a1297b0)
+++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/StochasticSoilModelCreateExtensions.cs (.../StochasticSoilModelCreateExtensions.cs) (revision ae6f0c6b534ca650e160ae6d9c0bc90369d25c68)
@@ -34,14 +34,14 @@
/// Creates a based on the information of the .
///
/// The model 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 StochasticSoilModelEntity Create(this StochasticSoilModel model, PersistenceRegistry collector)
+ /// Thrown when is null.
+ internal static StochasticSoilModelEntity Create(this StochasticSoilModel model, PersistenceRegistry registry)
{
- if (collector == null)
+ if (registry == null)
{
- throw new ArgumentNullException("collector");
+ throw new ArgumentNullException("registry");
}
var entity = new StochasticSoilModelEntity
@@ -50,17 +50,17 @@
SegmentName = model.SegmentName
};
- AddEntitiesForStochasticSoilProfiles(model, collector, entity);
+ AddEntitiesForStochasticSoilProfiles(model, registry, entity);
- collector.Register(entity, model);
+ registry.Register(entity, model);
return entity;
}
- private static void AddEntitiesForStochasticSoilProfiles(StochasticSoilModel model, PersistenceRegistry collector, StochasticSoilModelEntity entity)
+ private static void AddEntitiesForStochasticSoilProfiles(StochasticSoilModel model, PersistenceRegistry registry, StochasticSoilModelEntity entity)
{
foreach (var stochasticSoilProfile in model.StochasticSoilProfiles)
{
- entity.StochasticSoilProfileEntities.Add(stochasticSoilProfile.Create(collector));
+ entity.StochasticSoilProfileEntities.Add(stochasticSoilProfile.Create(registry));
}
}
}