Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfile/PipingSoilProfileReader.cs =================================================================== diff -u -rce871f8d394d4539208c9ef68372dd9d64ae1941 -rad11d25e651c47162ecf08d11a05d40bba0bebca --- Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfile/PipingSoilProfileReader.cs (.../PipingSoilProfileReader.cs) (revision ce871f8d394d4539208c9ef68372dd9d64ae1941) +++ Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfile/PipingSoilProfileReader.cs (.../PipingSoilProfileReader.cs) (revision ad11d25e651c47162ecf08d11a05d40bba0bebca) @@ -22,16 +22,13 @@ using System; using System.Data; using System.Data.SQLite; - using Core.Common.IO.Exceptions; using Core.Common.IO.Readers; using Core.Common.Utils.Builders; - using Ringtoets.Piping.IO.Builders; using Ringtoets.Piping.IO.Exceptions; using Ringtoets.Piping.IO.Properties; using Ringtoets.Piping.Primitives; - using UtilsResources = Core.Common.Utils.Properties.Resources; namespace Ringtoets.Piping.IO.SoilProfile @@ -133,7 +130,7 @@ { return default(T); } - return (T)valueObject; + return (T) valueObject; } /// @@ -145,7 +142,7 @@ /// Thrown when the value in the column was not of type . public T Read(string columnName) { - return (T)dataReader[columnName]; + return (T) dataReader[columnName]; } private void VerifyVersion(string databaseFilePath) @@ -244,9 +241,9 @@ string subQueryGetMaterialPropertiesOfLayer = string.Format( "SELECT " + - "mat.MA_ID, " + + "mat.MA_ID, " + "mat.MA_Name as {0}, " + - "max(case when pn.PN_Name = 'Color' then pv.PV_Value end) {1}, " + + "max(case when pn.PN_Name = 'Color' then pv.PV_Value end) {1}, " + "max(case when pn.PN_Name = 'BelowPhreaticLevelStochast' then s.ST_Dist_Type end) {2}, " + "max(case when pn.PN_Name = 'BelowPhreaticLevelStochast' then s.ST_Shift end) {3}, " + "max(case when pn.PN_Name = 'BelowPhreaticLevelStochast' then s.ST_Mean end) {4}, " + @@ -305,9 +302,9 @@ "layerCount.{2}, " + "sp1d.BottomLevel AS {3}, " + "sl1d.TopLevel AS {4}, " + - "{5}, " + - "{6}, " + - "{7}, " + + "{5}, " + + "{6}, " + + "{7}, " + "{8}, " + "{9}, " + "{10}, " + @@ -437,7 +434,7 @@ private void GetCount() { dataReader.Read(); - Count = (int)Read(SoilProfileDatabaseColumns.ProfileCount); + Count = (int) Read(SoilProfileDatabaseColumns.ProfileCount); dataReader.NextResult(); } }