- 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.
推薦閱讀
- Dynamics 365 for Finance and Operations Development Cookbook(Fourth Edition)
- C和C++安全編碼(原書第2版)
- 小程序開發原理與實戰
- C# 8.0核心技術指南(原書第8版)
- The Professional ScrumMaster’s Handbook
- 編寫高質量代碼:改善Objective-C程序的61個建議
- Illustrator CS6設計與應用任務教程
- ActionScript 3.0從入門到精通(視頻實戰版)
- Python大規模機器學習
- Hacking Android
- Mastering Concurrency in Python
- Scala編程(第4版)
- Tkinter GUI Programming by Example
- 秒懂算法:用常識解讀數據結構與算法
- Getting Started with SQL Server 2014 Administration