//------------------------------------------------------------------------------
//
// 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 Neo.Afx.Admin.Doc
{
using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
public partial class AfxAdminDocContext : DbContext
{
public AfxAdminDocContext()
: base("name=AfxAdminDocContext")
{
this.Configuration.LazyLoadingEnabled = false;
}
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
throw new UnintentionalCodeFirstException();
}
public virtual DbSet DocumentMimeTypes { get; set; }
public virtual DbSet Documents { get; set; }
public virtual DbSet DocumentStores { get; set; }
public virtual DbSet DocumentStoreLocations { get; set; }
public virtual DbSet DocumentStoreTypes { get; set; }
public virtual DbSet DocumentTypes { get; set; }
}
}