Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/AssessmentSectionCreateExtensions.cs
===================================================================
diff -u -rc2bf0666539fa1a781c6d5d633ac292fa4fe2bd4 -r1d86c8daf73d71b72c7a105b5f564ae7480a8d7f
--- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/AssessmentSectionCreateExtensions.cs (.../AssessmentSectionCreateExtensions.cs) (revision c2bf0666539fa1a781c6d5d633ac292fa4fe2bd4)
+++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/AssessmentSectionCreateExtensions.cs (.../AssessmentSectionCreateExtensions.cs) (revision 1d86c8daf73d71b72c7a105b5f564ae7480a8d7f)
@@ -54,9 +54,10 @@
///
/// The section to create a database entity for.
/// The object keeping track of create operations.
+ /// The index at which resides in its parent.
/// A new .
/// Thrown when is null.
- internal static AssessmentSectionEntity Create(this AssessmentSection section, PersistenceRegistry registry)
+ internal static AssessmentSectionEntity Create(this AssessmentSection section, PersistenceRegistry registry, int order)
{
if (registry == null)
{
@@ -69,7 +70,8 @@
Name = section.Name.DeepClone(),
Composition = (short) section.Composition,
Comments = section.Comments.DeepClone(),
- Norm = section.FailureMechanismContribution.Norm
+ Norm = section.FailureMechanismContribution.Norm,
+ Order = order
};
AddEntityForHydraulicDatabase(section, entity, registry);