- 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.
推薦閱讀
- 計算機圖形學編程(使用OpenGL和C++)(第2版)
- HoloLens Beginner's Guide
- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- Vue.js入門與商城開發實戰
- Python Geospatial Development(Second Edition)
- PhoneGap Mobile Application Development Cookbook
- 微信小程序全棧開發技術與實戰(微課版)
- Building Machine Learning Systems with Python(Second Edition)
- Vue.js 2 Web Development Projects
- HTML5權威指南
- Regression Analysis with Python
- 深度學習原理與PyTorch實戰(第2版)
- Getting Started with Nano Server
- 單片機原理及應用技術
- Applied Deep Learning with Python