Index: Core/Common/src/Core.Common.Base/Storage/IStoreProject.cs =================================================================== diff -u -r444796880375992cac66719b2e542a26cbb5edfe -rdddf5078ebf7731869d1842818a5034f3013abff --- Core/Common/src/Core.Common.Base/Storage/IStoreProject.cs (.../IStoreProject.cs) (revision 444796880375992cac66719b2e542a26cbb5edfe) +++ Core/Common/src/Core.Common.Base/Storage/IStoreProject.cs (.../IStoreProject.cs) (revision dddf5078ebf7731869d1842818a5034f3013abff) @@ -49,10 +49,10 @@ /// Converts the staged project to a new storage entry. Upon return, the staged project is released and /// will be false. /// - /// Arguments required to connect to the storage. + /// The path to the database required to connect to the storage. /// Thrown when no project has been staged /// before calling this method. - /// is invalid. + /// is invalid. /// Thrown when no new storage was created. /// Thrown when /// @@ -62,24 +62,24 @@ /// The connection to the storage failed. /// /// - void SaveProjectAs(string connectionArguments); + void SaveProjectAs(string databaseFilePath); /// /// Attempts to load the from the storage. /// - /// Arguments required to connect to the storage. + /// The path to the database required to connect to the storage. /// Returns a new instance of with the data from the storage or null when not found. - /// is invalid. + /// is invalid. /// Thrown when /// - /// is invalid. + /// is invalid. /// The storage does not contain all requested tables. /// The connection to the storage failed. /// The related entity was not found in the storage. /// The storage's version is incompatible. /// /// - IProject LoadProject(string connectionArguments); + IProject LoadProject(string databaseFilePath); /// /// Stages the project (does some prep-work and validity checking) to be saved. Index: Riskeer/Piping/src/Riskeer.Piping.Plugin/FileImporter/PipingStochasticSoilModelUpdateDataStrategy.cs =================================================================== diff -u -r86594ccd7329d320872573a1d066fe18959d3cea -rdddf5078ebf7731869d1842818a5034f3013abff --- Riskeer/Piping/src/Riskeer.Piping.Plugin/FileImporter/PipingStochasticSoilModelUpdateDataStrategy.cs (.../PipingStochasticSoilModelUpdateDataStrategy.cs) (revision 86594ccd7329d320872573a1d066fe18959d3cea) +++ Riskeer/Piping/src/Riskeer.Piping.Plugin/FileImporter/PipingStochasticSoilModelUpdateDataStrategy.cs (.../PipingStochasticSoilModelUpdateDataStrategy.cs) (revision dddf5078ebf7731869d1842818a5034f3013abff) @@ -54,9 +54,9 @@ #region Remove Data Functions - protected override IEnumerable RemoveObjectAndDependentData(PipingStochasticSoilModel removedModel) + protected override IEnumerable RemoveObjectAndDependentData(PipingStochasticSoilModel removedObject) { - return PipingDataSynchronizationService.RemoveStochasticSoilModel(FailureMechanism, removedModel); + return PipingDataSynchronizationService.RemoveStochasticSoilModel(FailureMechanism, removedObject); } #endregion @@ -79,10 +79,10 @@ #region Update Data Functions - protected override IEnumerable UpdateObjectAndDependentData(PipingStochasticSoilModel soilModelToUpdate, - PipingStochasticSoilModel soilModelToUpdateFrom) + protected override IEnumerable UpdateObjectAndDependentData(PipingStochasticSoilModel objectToUpdate, + PipingStochasticSoilModel objectToUpdateFrom) { - return UpdateStochasticSoilModel(soilModelToUpdate, soilModelToUpdateFrom); + return UpdateStochasticSoilModel(objectToUpdate, objectToUpdateFrom); } private IEnumerable UpdateStochasticSoilModel(PipingStochasticSoilModel modelToUpdate, PipingStochasticSoilModel modelToUpdateFrom) Index: Riskeer/Piping/src/Riskeer.Piping.Plugin/FileImporter/PipingSurfaceLineUpdateDataStrategy.cs =================================================================== diff -u -rae6913dc9e65387cd005077a2f056b5cd2fd159f -rdddf5078ebf7731869d1842818a5034f3013abff --- Riskeer/Piping/src/Riskeer.Piping.Plugin/FileImporter/PipingSurfaceLineUpdateDataStrategy.cs (.../PipingSurfaceLineUpdateDataStrategy.cs) (revision ae6913dc9e65387cd005077a2f056b5cd2fd159f) +++ Riskeer/Piping/src/Riskeer.Piping.Plugin/FileImporter/PipingSurfaceLineUpdateDataStrategy.cs (.../PipingSurfaceLineUpdateDataStrategy.cs) (revision dddf5078ebf7731869d1842818a5034f3013abff) @@ -54,9 +54,9 @@ return UpdateTargetCollectionData(surfaceLines, sourceFilePath); } - protected override IEnumerable RemoveObjectAndDependentData(PipingSurfaceLine removedSurfaceLine) + protected override IEnumerable RemoveObjectAndDependentData(PipingSurfaceLine removedObject) { - return PipingDataSynchronizationService.RemoveSurfaceLine(FailureMechanism, removedSurfaceLine); + return PipingDataSynchronizationService.RemoveSurfaceLine(FailureMechanism, removedObject); } /// @@ -77,17 +77,17 @@ #region Updating Data Functions - protected override IEnumerable UpdateObjectAndDependentData(PipingSurfaceLine surfaceLineToUpdate, - PipingSurfaceLine matchingSurfaceLine) + protected override IEnumerable UpdateObjectAndDependentData(PipingSurfaceLine objectToUpdate, + PipingSurfaceLine objectToUpdateFrom) { - surfaceLineToUpdate.CopyProperties(matchingSurfaceLine); + objectToUpdate.CopyProperties(objectToUpdateFrom); var affectedObjects = new List(); - affectedObjects.AddRange(UpdateSurfaceLineDependentData(surfaceLineToUpdate)); - affectedObjects.AddRange(UpdateStochasticSoilModel(surfaceLineToUpdate)); + affectedObjects.AddRange(UpdateSurfaceLineDependentData(objectToUpdate)); + affectedObjects.AddRange(UpdateStochasticSoilModel(objectToUpdate)); - ValidateEntryAndExitPoints(surfaceLineToUpdate); + ValidateEntryAndExitPoints(objectToUpdate); return affectedObjects; } Index: Riskeer/Storage/src/Riskeer.Storage.Core/Serializers/Point2DCollectionXmlSerializer.cs =================================================================== diff -u -r86594ccd7329d320872573a1d066fe18959d3cea -rdddf5078ebf7731869d1842818a5034f3013abff --- Riskeer/Storage/src/Riskeer.Storage.Core/Serializers/Point2DCollectionXmlSerializer.cs (.../Point2DCollectionXmlSerializer.cs) (revision 86594ccd7329d320872573a1d066fe18959d3cea) +++ Riskeer/Storage/src/Riskeer.Storage.Core/Serializers/Point2DCollectionXmlSerializer.cs (.../Point2DCollectionXmlSerializer.cs) (revision dddf5078ebf7731869d1842818a5034f3013abff) @@ -33,14 +33,14 @@ /// internal class Point2DCollectionXmlSerializer : DataCollectionSerializer { - protected override SerializablePoint2D[] ToSerializableData(IEnumerable points) + protected override SerializablePoint2D[] ToSerializableData(IEnumerable elements) { - return points.Select(p => new SerializablePoint2D(p)).ToArray(); + return elements.Select(p => new SerializablePoint2D(p)).ToArray(); } - protected override Point2D[] FromSerializableData(IEnumerable pointData) + protected override Point2D[] FromSerializableData(IEnumerable serializedElements) { - return pointData.Select(pd => pd.ToPoint2D()).ToArray(); + return serializedElements.Select(pd => pd.ToPoint2D()).ToArray(); } [Serializable]