//------------------------------------------------------------------------------ // // 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 IDbSet ProjectEntities { get; set; } public virtual IDbSet Versions { get; set; } public virtual IDbSet DikeAssessmentSectionEntities { get; set; } } }