Index: Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/FailureMechanismEntity.cs =================================================================== diff -u -rbd21fbd130d32ac7d8f5acc37e20dc2e7fb3b6d4 -r3dbf451144dc23d8abe649913baee1a5e544c48c --- Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/FailureMechanismEntity.cs (.../FailureMechanismEntity.cs) (revision bd21fbd130d32ac7d8f5acc37e20dc2e7fb3b6d4) +++ Application/Ringtoets/src/Application.Ringtoets.Storage/DbContext/FailureMechanismEntity.cs (.../FailureMechanismEntity.cs) (revision 3dbf451144dc23d8abe649913baee1a5e544c48c) @@ -1,135 +1,143 @@ -// Copyright (C) Stichting Deltares 2017. All rights reserved. -// -// This file is part of Ringtoets. -// -// Ringtoets 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. - -//------------------------------------------------------------------------------ -// -// This code was generated from a template. -// -// Manual changes to this file may cause unexpected behavior in your application. -// Manual changes to this file will be overwritten if the code is regenerated. -// -//------------------------------------------------------------------------------ - -using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; - -namespace Application.Ringtoets.Storage.DbContext -{ - public class FailureMechanismEntity - { - [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] - public FailureMechanismEntity() - { - ClosingStructureEntities = new HashSet(); - ClosingStructuresFailureMechanismMetaEntities = new HashSet(); - DikeProfileEntities = new HashSet(); - DuneErosionFailureMechanismMetaEntities = new HashSet(); - DuneLocationEntities = new HashSet(); - FailureMechanismSectionEntities = new HashSet(); - ForeshoreProfileEntities = new HashSet(); - GrassCoverErosionInwardsFailureMechanismMetaEntities = new HashSet(); - GrassCoverErosionOutwardsFailureMechanismMetaEntities = new HashSet(); - GrassCoverErosionOutwardsHydraulicLocationEntities = new HashSet(); - HeightStructureEntities = new HashSet(); - HeightStructuresFailureMechanismMetaEntities = new HashSet(); - MacroStabilityInwardsFailureMechanismMetaEntities = new HashSet(); - PipingFailureMechanismMetaEntities = new HashSet(); - StabilityPointStructureEntities = new HashSet(); - StabilityPointStructuresFailureMechanismMetaEntities = new HashSet(); - StabilityStoneCoverFailureMechanismMetaEntities = new HashSet(); - StochasticSoilModelEntities = new HashSet(); - SurfaceLineEntities = new HashSet(); - WaveImpactAsphaltCoverFailureMechanismMetaEntities = new HashSet(); - } - - public long FailureMechanismEntityId { get; set; } - public long AssessmentSectionEntityId { get; set; } - public long? CalculationGroupEntityId { get; set; } - public short FailureMechanismType { get; set; } - public byte IsRelevant { get; set; } - public string InputComments { get; set; } - public string OutputComments { get; set; } - public string NotRelevantComments { get; set; } - - public virtual AssessmentSectionEntity AssessmentSectionEntity { get; set; } - public virtual CalculationGroupEntity CalculationGroupEntity { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection ClosingStructureEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection ClosingStructuresFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection DikeProfileEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection DuneErosionFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection DuneLocationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection FailureMechanismSectionEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection ForeshoreProfileEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection GrassCoverErosionInwardsFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection GrassCoverErosionOutwardsFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection GrassCoverErosionOutwardsHydraulicLocationEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection HeightStructureEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection HeightStructuresFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection MacroStabilityInwardsFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection PipingFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection StabilityPointStructureEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection StabilityPointStructuresFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection StabilityStoneCoverFailureMechanismMetaEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection StochasticSoilModelEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection SurfaceLineEntities { get; set; } - - [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] - public virtual ICollection WaveImpactAsphaltCoverFailureMechanismMetaEntities { get; set; } - } +// Copyright (C) Stichting Deltares 2017. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets 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. + +//------------------------------------------------------------------------------ +// +// This code was generated from a template. +// +// Manual changes to this file may cause unexpected behavior in your application. +// Manual changes to this file will be overwritten if the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System.Collections.Generic; +using System.Diagnostics.CodeAnalysis; + +namespace Application.Ringtoets.Storage.DbContext +{ + public class FailureMechanismEntity + { + [SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")] + public FailureMechanismEntity() + { + ClosingStructureEntities = new HashSet(); + ClosingStructuresFailureMechanismMetaEntities = new HashSet(); + DikeProfileEntities = new HashSet(); + DuneErosionFailureMechanismMetaEntities = new HashSet(); + DuneLocationEntities = new HashSet(); + FailureMechanismSectionEntities = new HashSet(); + ForeshoreProfileEntities = new HashSet(); + GrassCoverErosionInwardsFailureMechanismMetaEntities = new HashSet(); + GrassCoverErosionOutwardsFailureMechanismMetaEntities = new HashSet(); + GrassCoverErosionOutwardsHydraulicLocationEntities = new HashSet(); + HeightStructureEntities = new HashSet(); + HeightStructuresFailureMechanismMetaEntities = new HashSet(); + MacroStabilityInwardsFailureMechanismMetaEntities = new HashSet(); + MacroStabilityOutwardsFailureMechanismMetaEntities = new HashSet(); + PipingFailureMechanismMetaEntities = new HashSet(); + PipingStructureFailureMechanismMetaEntities = new HashSet(); + StabilityPointStructureEntities = new HashSet(); + StabilityPointStructuresFailureMechanismMetaEntities = new HashSet(); + StabilityStoneCoverFailureMechanismMetaEntities = new HashSet(); + StochasticSoilModelEntities = new HashSet(); + SurfaceLineEntities = new HashSet(); + WaveImpactAsphaltCoverFailureMechanismMetaEntities = new HashSet(); + } + + public long FailureMechanismEntityId { get; set; } + public long AssessmentSectionEntityId { get; set; } + public long? CalculationGroupEntityId { get; set; } + public short FailureMechanismType { get; set; } + public byte IsRelevant { get; set; } + public string InputComments { get; set; } + public string OutputComments { get; set; } + public string NotRelevantComments { get; set; } + + public virtual AssessmentSectionEntity AssessmentSectionEntity { get; set; } + public virtual CalculationGroupEntity CalculationGroupEntity { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection ClosingStructureEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection ClosingStructuresFailureMechanismMetaEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection DikeProfileEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection DuneErosionFailureMechanismMetaEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection DuneLocationEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection FailureMechanismSectionEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection ForeshoreProfileEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection GrassCoverErosionInwardsFailureMechanismMetaEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection GrassCoverErosionOutwardsFailureMechanismMetaEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection GrassCoverErosionOutwardsHydraulicLocationEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection HeightStructureEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection HeightStructuresFailureMechanismMetaEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection MacroStabilityInwardsFailureMechanismMetaEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection MacroStabilityOutwardsFailureMechanismMetaEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection PipingFailureMechanismMetaEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection PipingStructureFailureMechanismMetaEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection StabilityPointStructureEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection StabilityPointStructuresFailureMechanismMetaEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection StabilityStoneCoverFailureMechanismMetaEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection StochasticSoilModelEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection SurfaceLineEntities { get; set; } + + [SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")] + public virtual ICollection WaveImpactAsphaltCoverFailureMechanismMetaEntities { get; set; } + } } \ No newline at end of file