Пример #1
0
 /// <summary>
 /// Loads all tables into the context.
 /// </summary>
 public void LoadTablesIntoContext()
 {
     ProjectEntities.Load();
     PersonEntities.Load();
     ExpertEntities.Load();
     EventTreeEntities.Load();
     TreeEventEntities.Load();
     ExpertClassEstimationEntities.Load();
     FragilityCurveElementEntities.Load();
     TreeEventFragilityCurveElementEntities.Load();
     HydraulicConditionElementEntities.Load();
 }
Пример #2
0
        /// <summary>
        /// Loads all tables into the context.
        /// </summary>
        public void LoadTablesIntoContext()
        {
            AssessmentSectionEntities.Load();
            AdoptableFailureMechanismSectionResultEntities.Load();
            AdoptableWithProfileProbabilityFailureMechanismSectionResultEntities.Load();
            BackgroundDataEntities.Load();
            BackgroundDataMetaEntities.Load();
            CalculationGroupEntities.Load();
            ClosingStructureEntities.Load();
            ClosingStructuresCalculationEntities.Load();
            ClosingStructuresFailureMechanismMetaEntities.Load();
            ClosingStructuresOutputEntities.Load();
            DikeProfileEntities.Load();
            DuneErosionFailureMechanismMetaEntities.Load();
            DuneLocationEntities.Load();
            DuneLocationCalculationForTargetProbabilityCollectionEntities.Include(e => e.DuneLocationCalculationEntities)
            .Load();
            DuneLocationCalculationEntities.Load();
            DuneLocationCalculationOutputEntities.Load();
            FailureMechanismEntities.Include(e => e.FailureMechanismSectionEntities)
            .Load();
            FailureMechanismSectionEntities.Load();
            ForeshoreProfileEntities.Load();
            GrassCoverErosionInwardsCalculationEntities.Load();
            GrassCoverErosionInwardsDikeHeightOutputEntities.Load();
            GrassCoverErosionInwardsFailureMechanismMetaEntities.Load();
            GrassCoverErosionInwardsOutputEntities.Load();
            GrassCoverErosionInwardsOvertoppingRateOutputEntities.Load();
            GrassCoverErosionOutwardsFailureMechanismMetaEntities.Load();
            GrassCoverErosionOutwardsWaveConditionsCalculationEntities.Load();
            GrassCoverErosionOutwardsWaveConditionsOutputEntities.Load();
            GrassCoverSlipOffInwardsFailureMechanismMetaEntities.Load();
            GrassCoverSlipOffOutwardsFailureMechanismMetaEntities.Load();
            HeightStructureEntities.Load();
            HeightStructuresCalculationEntities.Load();
            HeightStructuresFailureMechanismMetaEntities.Load();
            HeightStructuresOutputEntities.Load();
            HydraulicBoundaryDatabaseEntities.Load();
            HydraulicLocationEntities.Load();
            HydraulicLocationCalculationCollectionEntities.Include(e => e.HydraulicLocationCalculationEntities)
            .Load();
            HydraulicLocationCalculationForTargetProbabilityCollectionEntities.Include(e => e.HydraulicLocationCalculationEntities)
            .Load();
            HydraulicLocationCalculationEntities.Load();
            HydraulicLocationOutputEntities.Load();
            MacroStabilityInwardsCharacteristicPointEntities.Load();
            MacroStabilityInwardsFailureMechanismMetaEntities.Load();
            MacroStabilityInwardsSoilProfileOneDEntities.Load();
            MacroStabilityInwardsSoilLayerOneDEntities.Load();
            MacroStabilityInwardsSoilProfileTwoDEntities.Include(e => e.MacroStabilityInwardsSoilLayerTwoDEntities)
            .Load();
            MacroStabilityInwardsSoilLayerTwoDEntities.Load();
            MacroStabilityInwardsStochasticSoilProfileEntities.Load();
            MacroStabilityInwardsPreconsolidationStressEntities.Load();
            MacroStabilityInwardsCalculationEntities.Load();
            MacroStabilityInwardsCalculationOutputEntities.Load();
            MicrostabilityFailureMechanismMetaEntities.Load();
            NonAdoptableFailureMechanismSectionResultEntities.Load();
            NonAdoptableWithProfileProbabilityFailureMechanismSectionResultEntities.Load();
            ProjectEntities.Load();
            SemiProbabilisticPipingCalculationEntities.Load();
            SemiProbabilisticPipingCalculationOutputEntities.Load();
            ProbabilisticPipingCalculationEntities.Load();
            ProbabilisticPipingCalculationOutputEntities.Load();
            PipingCharacteristicPointEntities.Load();
            PipingFailureMechanismMetaEntities.Load();
            PipingScenarioConfigurationPerFailureMechanismSectionEntities.Load();
            PipingSoilLayerEntities.Load();
            PipingSoilProfileEntities.Load();
            PipingStructureFailureMechanismMetaEntities.Load();
            PipingStochasticSoilProfileEntities.Load();
            StabilityPointStructureEntities.Load();
            StabilityPointStructuresCalculationEntities.Load();
            StabilityPointStructuresFailureMechanismMetaEntities.Load();
            StabilityPointStructuresOutputEntities.Load();
            StabilityStoneCoverFailureMechanismMetaEntities.Load();
            StabilityStoneCoverWaveConditionsCalculationEntities.Load();
            StabilityStoneCoverWaveConditionsOutputEntities.Load();
            StochasticSoilModelEntities.Load();
            SurfaceLineEntities.Load();
            WaterPressureAsphaltCoverFailureMechanismMetaEntities.Load();
            WaveImpactAsphaltCoverFailureMechanismMetaEntities.Load();
            WaveImpactAsphaltCoverWaveConditionsCalculationEntities.Load();
            WaveImpactAsphaltCoverWaveConditionsOutputEntities.Load();

            SpecificFailureMechanismEntities.Include(e => e.FailureMechanismSectionEntities)
            .Load();
            NonAdoptableWithProfileProbabilityFailureMechanismSectionResultEntities.Load();

            LoadIllustrationPointsIntoContext();
        }