Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/DikeProfileProperties.cs =================================================================== diff -u -raeb6e1a439617630e7613b9ed5af152c345fa2c6 -r6b770a7da0ed7cf13bab8220573a4d5ce9494809 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/DikeProfileProperties.cs (.../DikeProfileProperties.cs) (revision aeb6e1a439617630e7613b9ed5af152c345fa2c6) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/DikeProfileProperties.cs (.../DikeProfileProperties.cs) (revision 6b770a7da0ed7cf13bab8220573a4d5ce9494809) @@ -37,14 +37,27 @@ /// public class DikeProfileProperties : ObjectProperties { - private const int namePropertyIndex = 1; - private const int worldReferencePointPropertyIndex = 2; - private const int orientationPropertyIndex = 3; - private const int breakWaterPropertyIndex = 4; - private const int foreshorePropertyIndex = 5; - private const int dikeGeometryPropertyIndex = 6; - private const int dikeHeightPropertyIndex = 7; + private const int idPropertyIndex = 1; + private const int namePropertyIndex = 2; + private const int worldReferencePointPropertyIndex = 3; + private const int orientationPropertyIndex = 4; + private const int breakWaterPropertyIndex = 5; + private const int foreshorePropertyIndex = 6; + private const int dikeGeometryPropertyIndex = 7; + private const int dikeHeightPropertyIndex = 8; + [PropertyOrder(idPropertyIndex)] + [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_General))] + [ResourcesDisplayName(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Id_DisplayName))] + [ResourcesDescription(typeof(Resources), nameof(Resources.DikeProfile_Id_Description))] + public string Id + { + get + { + return data.Id; + } + } + [PropertyOrder(namePropertyIndex)] [ResourcesCategory(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Categories_General))] [ResourcesDisplayName(typeof(RingtoetsCommonFormsResources), nameof(RingtoetsCommonFormsResources.Profile_Name_DisplayName))]