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

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.

主站蜘蛛池模板: 临漳县| 九龙城区| 金秀| 阳泉市| 临邑县| 喀什市| 衡阳市| 通许县| 舒兰市| 陆河县| 开化县| 苏尼特右旗| 十堰市| 报价| 水富县| 广东省| 湘潭市| 自治县| 蒙城县| 昆明市| 曲周县| 化隆| 巴林右旗| 来安县| 红桥区| 武义县| 阿鲁科尔沁旗| 乐平市| 民县| 东港市| 辽阳县| 康平县| 习水县| 南澳县| 宝应县| 滦南县| 电白县| 四子王旗| 措勤县| 辽宁省| 定日县|