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

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.

主站蜘蛛池模板: 大同市| 鲁甸县| 大丰市| 灵璧县| 沽源县| 祁东县| 林甸县| 黎川县| 杭锦后旗| 台南市| 湟中县| 泸溪县| 本溪| 彭泽县| 西盟| 虞城县| 保亭| 城口县| 清丰县| 河间市| 光山县| 伊吾县| 尤溪县| 嵊州市| 金堂县| 阿图什市| 民和| 玉龙| 昭苏县| 卓尼县| 铜陵市| 奉节县| 水富县| 新昌县| 登封市| 浮梁县| 辽宁省| 定南县| 太和县| 滨海县| 大兴区|