Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Create/Piping/RingtoetsPipingSurfaceLineCreateExtensions.cs =================================================================== diff -u -r508d720230c5f63bce7f95bddc3b7a04808d267d -r37aadd6a7b1a13ef1c8809b3479df0911c6632bb --- Application/Ringtoets/src/Application.Ringtoets.Storage/Create/Piping/RingtoetsPipingSurfaceLineCreateExtensions.cs (.../RingtoetsPipingSurfaceLineCreateExtensions.cs) (revision 508d720230c5f63bce7f95bddc3b7a04808d267d) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Create/Piping/RingtoetsPipingSurfaceLineCreateExtensions.cs (.../RingtoetsPipingSurfaceLineCreateExtensions.cs) (revision 37aadd6a7b1a13ef1c8809b3479df0911c6632bb) @@ -42,9 +42,10 @@ /// /// The surface line 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 SurfaceLineEntity Create(this RingtoetsPipingSurfaceLine surfaceLine, PersistenceRegistry registry) + internal static SurfaceLineEntity Create(this RingtoetsPipingSurfaceLine surfaceLine, PersistenceRegistry registry, int order) { if (registry == null) { @@ -60,7 +61,8 @@ Name = surfaceLine.Name, ReferenceLineIntersectionX = surfaceLine.ReferenceLineIntersectionWorldPoint.X.ToNaNAsNull(), ReferenceLineIntersectionY = surfaceLine.ReferenceLineIntersectionWorldPoint.Y.ToNaNAsNull(), - PointsData = new Point3DBinaryConverter().ToBytes(surfaceLine.Points) + PointsData = new Point3DBinaryConverter().ToBytes(surfaceLine.Points), + Order = order }; CreateCharacteristicPointEntities(surfaceLine, registry, entity);