Index: Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/StochasticSoilModelEntityReadExtensions.cs =================================================================== diff -u -ra5714fc0488030773fff50dfc82041c6cb9edc2f -r23766b602d9b509a2ffc030f284e8d5e82325a3e --- Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/StochasticSoilModelEntityReadExtensions.cs (.../StochasticSoilModelEntityReadExtensions.cs) (revision a5714fc0488030773fff50dfc82041c6cb9edc2f) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/Read/Piping/StochasticSoilModelEntityReadExtensions.cs (.../StochasticSoilModelEntityReadExtensions.cs) (revision 23766b602d9b509a2ffc030f284e8d5e82325a3e) @@ -20,8 +20,8 @@ // All rights reserved. using System; -using System.Linq; +using Application.Ringtoets.Storage.BinaryConverters; using Application.Ringtoets.Storage.DbContext; using Ringtoets.Piping.Data; @@ -74,9 +74,7 @@ private static void ReadSegmentPoints(this StochasticSoilModelEntity entity, StochasticSoilModel model) { - model.Geometry.AddRange(entity.StochasticSoilModelSegmentPointEntities - .OrderBy(pe => pe.Order) - .Select(pe => pe.Read())); + model.Geometry.AddRange(new Point2DBinaryConverter().ToData(entity.SegmentPoints)); } } } \ No newline at end of file