Index: Riskeer/Storage/src/Riskeer.Storage.Core/DbContext/Interfaces/INonAdoptableFailureMechanismSectionResultEntity.cs
===================================================================
diff -u
--- Riskeer/Storage/src/Riskeer.Storage.Core/DbContext/Interfaces/INonAdoptableFailureMechanismSectionResultEntity.cs (revision 0)
+++ Riskeer/Storage/src/Riskeer.Storage.Core/DbContext/Interfaces/INonAdoptableFailureMechanismSectionResultEntity.cs (revision 71321611c5a0e7a7bf577b8daf9ed56ea9c7d1a7)
@@ -0,0 +1,54 @@
+// Copyright (C) Stichting Deltares 2021. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+namespace Riskeer.Storage.Core.DbContext
+{
+ ///
+ /// Interface for a failure mechanism section result entity with a non-adoptable initial failure mechanism result type.
+ ///
+ public interface INonAdoptableFailureMechanismSectionResultEntity
+ {
+ ///
+ /// Gets or sets whether the section result is relevant.
+ ///
+ byte IsRelevant { get; set; }
+
+ ///
+ /// Gets or sets the type of the initial failure mechanism result.
+ ///
+ byte NonAdoptableInitialFailureMechanismResultType { get; set; }
+
+ ///
+ /// Gets or sets the value of the manual initial failure mechanism result per failure mechanism section as a probability.
+ ///
+ double? ManualInitialFailureMechanismResultSectionProbability { get; set; }
+
+ ///
+ /// Gets or sets whether further analysis is needed.
+ ///
+ byte FurtherAnalysisNeeded { get; set; }
+
+ ///
+ /// Gets or sets the value of the refined probability per failure mechanism section result.
+ ///
+ double? RefinedSectionProbability { get; set; }
+ }
+}
\ No newline at end of file
Index: Riskeer/Storage/src/Riskeer.Storage.Core/DbContext/Partials/PartialPipingStructureSectionResultEntity.cs
===================================================================
diff -u
--- Riskeer/Storage/src/Riskeer.Storage.Core/DbContext/Partials/PartialPipingStructureSectionResultEntity.cs (revision 0)
+++ Riskeer/Storage/src/Riskeer.Storage.Core/DbContext/Partials/PartialPipingStructureSectionResultEntity.cs (revision 71321611c5a0e7a7bf577b8daf9ed56ea9c7d1a7)
@@ -0,0 +1,29 @@
+// Copyright (C) Stichting Deltares 2021. All rights reserved.
+//
+// This file is part of Riskeer.
+//
+// Riskeer is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see .
+//
+// All names, logos, and references to "Deltares" are registered trademarks of
+// Stichting Deltares and remain full property of Stichting Deltares at all times.
+// All rights reserved.
+
+namespace Riskeer.Storage.Core.DbContext
+{
+ ///
+ /// Partial implementation of that implements
+ /// .
+ ///
+ public partial class PipingStructureSectionResultEntity : INonAdoptableFailureMechanismSectionResultEntity {}
+}
\ No newline at end of file
Index: Riskeer/Storage/src/Riskeer.Storage.Core/DbContext/PipingStructureSectionResultEntity.cs
===================================================================
diff -u -r9fe60d03470b0d7c79d83f88cdd80b62bd1c5523 -r71321611c5a0e7a7bf577b8daf9ed56ea9c7d1a7
--- Riskeer/Storage/src/Riskeer.Storage.Core/DbContext/PipingStructureSectionResultEntity.cs (.../PipingStructureSectionResultEntity.cs) (revision 9fe60d03470b0d7c79d83f88cdd80b62bd1c5523)
+++ Riskeer/Storage/src/Riskeer.Storage.Core/DbContext/PipingStructureSectionResultEntity.cs (.../PipingStructureSectionResultEntity.cs) (revision 71321611c5a0e7a7bf577b8daf9ed56ea9c7d1a7)
@@ -30,7 +30,7 @@
namespace Riskeer.Storage.Core.DbContext
{
- public class PipingStructureSectionResultEntity
+ public partial class PipingStructureSectionResultEntity
{
public long PipingStructureSectionResultEntityId { get; set; }
public long FailureMechanismSectionEntityId { get; set; }