Good Morning,
Here's an example of the error I receive during the Visual Studio build process:
Partial declarations of EDMX filename must not specify different base classes
This error references the following code:
using System;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
public partial class AdminTaskEntities : DbContext
{
public AdminTaskEntities()
: base("name=AdminTaskEntities")
{
}
protected override void OnModelCreating(DbModelBuilder modelBuilder)
{
throw new UnintentionalCodeFirstException();
}
public DbSet<AdminTask> AdminTasks { get; set; }
public DbSet<TaskType> TaskTypes { get; set; }
}