Ok, so I just upgraded NuGet to EF Code First 4.1, and now I got the following build error in the JobSiteContext.cs class:
"The name" DbDatabase "does not exist in the current context"
Here is my code:
public class JobSiteContext : DbContext { public DbSet<JobSite.Models.Job> Jobs { get; set; } public DbSet<JobSite.Models.Location> Locations { get; set; } public DbSet<JobSite.Models.Profile> Profiles { get; set; } public JobSiteContext() {
Can someone point me in the right direction?
Thanks Paul
Paul brown
source share