官术网_书友最值得收藏!

The Delete view

Blog.Url should be displayed instead of Blog ID in the Delete view as well:

    <dl class="dl-horizontal">
...
<dd>
@Html.DisplayFor(model => model.Blog.Url)
</dd>
</dl>

 The changes were reflected on the Delete confirmation screen that now displays the Blog URL instead of the Blog ID:

Delete a post

The Post list page doesn't display the deleted item, which ensures that the data has been deleted from the table:

List view after deleting a post

We have identified certain missing pieces of the puzzle in the CRUD operations that were covered in Chapter 1Kickstart - Introduction to Entity Framework Core because there is no specific change that needs to be addressed in the database-first approach.

主站蜘蛛池模板: 建湖县| 诸城市| 巴林左旗| 扎囊县| 江阴市| 洮南市| 盐亭县| 夏邑县| 九台市| 额敏县| 华容县| 扬中市| 广西| 尼木县| 荥阳市| 久治县| 沅江市| 托里县| 兴国县| 葵青区| 南乐县| 竹北市| 龙泉市| 仙居县| 定远县| 个旧市| 岳池县| 桂平市| 桃园县| 枣阳市| 峨边| 武冈市| 米泉市| 汤阴县| 光山县| 罗源县| 洪泽县| 海兴县| 兴仁县| 岳西县| 靖远县|