// Copyright (C) Stichting Deltares 2016. 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. // //------------------------------------------------------------------------------ namespace Application.Ringtoets.Storage.DbContext { using System; using System.Data.Entity; using System.Data.Entity.Infrastructure; public partial class RingtoetsEntities : DbContext, IRingtoetsEntities { public RingtoetsEntities() : base("name=RingtoetsEntities") { } /// /// This method is called in a 'code first' approach when the model for a derived has been initialized, /// but before the model has been locked down and used to initialize the . /// /// The that defines the model for the context being created. /// Thrown because the is created in a 'code first' approach. protected override void OnModelCreating(DbModelBuilder modelBuilder) { throw new UnintentionalCodeFirstException(); } public virtual DbSet AssessmentSectionEntities { get; set; } public virtual DbSet CalculationGroupEntities { get; set; } public virtual DbSet CharacteristicPointEntities { get; set; } public virtual DbSet FailureMechanismEntities { get; set; } public virtual DbSet FailureMechanismSectionEntities { get; set; } public virtual DbSet FailureMechanismSectionPointEntities { get; set; } public virtual DbSet HydraulicLocationEntities { get; set; } public virtual DbSet ProjectEntities { get; set; } public virtual DbSet ReferenceLinePointEntities { get; set; } public virtual DbSet SoilLayerEntities { get; set; } public virtual DbSet SoilProfileEntities { get; set; } public virtual DbSet StochasticSoilModelEntities { get; set; } public virtual DbSet StochasticSoilProfileEntities { get; set; } public virtual DbSet SurfaceLineEntities { get; set; } public virtual DbSet SurfaceLinePointEntities { get; set; } public virtual DbSet VersionEntities { get; set; } } }