Index: Ringtoets/Common/src/Ringtoets.Common.Data/DikeProfiles/DikeProfile.cs
===================================================================
diff -u -rb2b9fdf365e70928a05c57966eeed30d9050e528 -rba715436cd0186ee10a1edc13d547ee27bea4c89
--- Ringtoets/Common/src/Ringtoets.Common.Data/DikeProfiles/DikeProfile.cs (.../DikeProfile.cs) (revision b2b9fdf365e70928a05c57966eeed30d9050e528)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/DikeProfiles/DikeProfile.cs (.../DikeProfile.cs) (revision ba715436cd0186ee10a1edc13d547ee27bea4c89)
@@ -57,6 +57,7 @@
ForeshoreProfile = new ForeshoreProfile(worldCoordinate, foreshoreGeometry, breakWater,
new ForeshoreProfile.ConstructionProperties
{
+ Id = properties.Id,
Name = properties.Name,
Orientation = properties.Orientation,
X0 = properties.X0
@@ -69,9 +70,20 @@
///
/// Gets the foreshore profile.
///
- public ForeshoreProfile ForeshoreProfile { get; private set; }
+ public ForeshoreProfile ForeshoreProfile { get; }
///
+ /// Gets the ID of the dike profile.
+ ///
+ public string Id
+ {
+ get
+ {
+ return ForeshoreProfile.Id;
+ }
+ }
+
+ ///
/// Gets the name of the dike profile.
///
public string Name
@@ -192,6 +204,11 @@
public class ConstructionProperties
{
///
+ /// Gets or sets the value for .
+ ///
+ public string Id { internal get; set; }
+
+ ///
/// Gets or sets the value for .
///
public string Name { internal get; set; }