Merge pull request #4610 from aspnet/master

Update live with current master
pull/4758/head^2
Rick Anderson 2017-10-20 13:36:39 -10:00 committed by GitHub
commit 67d6af7a00
1 changed files with 1 additions and 1 deletions

View File

@ -9,6 +9,6 @@ The `ID` field is required by the database for the primary key.
Add a `DbContext` derived class named *MovieContext.cs* to the *Models* folder.
[!code-csharp[Main](../../tutorials/razor-pages/razor-pages-start/snapshot_sample/RazorPagesMovie/Models/MovieContext.cs?range=5-13)]
[!code-csharp[Main](../../tutorials/razor-pages/razor-pages-start/snapshot_sample/RazorPagesMovie/Models/MovieContext.cs]
The preceding code creates a `DbSet` property for the entity set. In Entity Framework terminology, an entity set typically corresponds to a database table, and an entity corresponds to a row in the table.