Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwards/DikeProfileCreateExtensions.cs =================================================================== diff -u -rbc7cd9cbf90d04580e6b3542c56edc590867c43a -r37aadd6a7b1a13ef1c8809b3479df0911c6632bb --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwards/DikeProfileCreateExtensions.cs (.../DikeProfileCreateExtensions.cs) (revision bc7cd9cbf90d04580e6b3542c56edc590867c43a) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/GrassCoverErosionInwards/DikeProfileCreateExtensions.cs (.../DikeProfileCreateExtensions.cs) (revision 37aadd6a7b1a13ef1c8809b3479df0911c6632bb) @@ -38,9 +38,10 @@ /// /// The dike 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 DikeProfileEntity Create(this DikeProfile dikeProfile, PersistenceRegistry registry) + internal static DikeProfileEntity Create(this DikeProfile dikeProfile, PersistenceRegistry registry, int order) { if (registry == null) { @@ -60,7 +61,8 @@ ForeShoreData = new Point2DBinaryConverter().ToBytes(dikeProfile.ForeshoreGeometry), Orientation = dikeProfile.Orientation, DikeHeight = dikeProfile.DikeHeight, - Name = dikeProfile.Name + Name = dikeProfile.Name, + Order = order }; if (dikeProfile.HasBreakWater) {