- Mastering Entity Framework Core 2.0
- Prabhakaran Anbazhagan
- 127字
- 2021-07-02 21:16:42
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 1, Kickstart - Introduction to Entity Framework Core because there is no specific change that needs to be addressed in the database-first approach.
推薦閱讀
- Web前端開發技術:HTML、CSS、JavaScript(第3版)
- iOS面試一戰到底
- 程序員面試筆試寶典
- Android Development with Kotlin
- Getting Started with PowerShell
- Learn Scala Programming
- 21天學通C++(第6版)
- C++ 從入門到項目實踐(超值版)
- SQL Server 2016數據庫應用與開發
- Mathematica Data Analysis
- .NET 3.5編程
- Learning OpenStack Networking(Neutron)(Second Edition)
- Natural Language Processing with Java and LingPipe Cookbook
- JavaScript程序設計(第2版)
- 體驗之道:從需求到實踐的用戶體驗實戰