My problem is that the below code does not register a data store during startup. This is the specific \"error\" statement I get in the response from the application:
EF7 has new sytax from DBContextOptionsBuilder to EntityOptionsBuilder. Following is ready to use for also command line scaffolding.
public class ContentContext : DbContext
{
public DbSet Contents { get; set; }
public DbSet ContentCategories { get; set; }
protected override void OnConfiguring(EntityOptionsBuilder optionsBuilder)
{
optionsBuilder.UseSqlServer("Data:DefaultConnection:ConnectionString");
}
}