Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/Piping/StochasticSoilProfileCreateExtensions.cs
===================================================================
diff -u -ra294987551b0b2d8a27b6e1bc6235b0e2351b6f4 -r37aadd6a7b1a13ef1c8809b3479df0911c6632bb
--- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/Piping/StochasticSoilProfileCreateExtensions.cs (.../StochasticSoilProfileCreateExtensions.cs) (revision a294987551b0b2d8a27b6e1bc6235b0e2351b6f4)
+++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/Piping/StochasticSoilProfileCreateExtensions.cs (.../StochasticSoilProfileCreateExtensions.cs) (revision 37aadd6a7b1a13ef1c8809b3479df0911c6632bb)
@@ -37,14 +37,16 @@
///
/// The profile to create a database entity for.
/// The object keeping track of create operations.
+ /// Index at which this instance resides inside its parent container.
/// A new .
/// Thrown when is null.
- internal static StochasticSoilProfileEntity Create(this StochasticSoilProfile profile, PersistenceRegistry registry)
+ internal static StochasticSoilProfileEntity Create(this StochasticSoilProfile profile, PersistenceRegistry registry, int order)
{
var entity = new StochasticSoilProfileEntity
{
Probability = profile.Probability.ToNaNAsNull(),
- SoilProfileEntity = profile.SoilProfile.Create(registry)
+ SoilProfileEntity = profile.SoilProfile.Create(registry),
+ Order = order
};
if (registry.Contains(profile))
{