diff --git a/aspnetcore/tutorials/razor-pages/razor-pages-start/sample/RazorPagesMovie/Startup.cs b/aspnetcore/tutorials/razor-pages/razor-pages-start/sample/RazorPagesMovie/Startup.cs index 44e603c998..d91a6002bb 100644 --- a/aspnetcore/tutorials/razor-pages/razor-pages-start/sample/RazorPagesMovie/Startup.cs +++ b/aspnetcore/tutorials/razor-pages/razor-pages-start/sample/RazorPagesMovie/Startup.cs @@ -21,6 +21,7 @@ namespace RazorPagesMovie { // requires using RazorPagesMovie.Models; // and using Microsoft.Extensions.DependencyInjection; + // and using Microsoft.EntityFrameworkCore; services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("MovieContext"))); services.AddMvc();