- 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.
推薦閱讀
- Go Web編程
- C#高級編程(第10版) C# 6 & .NET Core 1.0 (.NET開發經典名著)
- Python快樂編程:人工智能深度學習基礎
- Visual FoxPro程序設計教程(第3版)
- Ray分布式機器學習:利用Ray進行大模型的數據處理、訓練、推理和部署
- Python程序設計
- Big Data Analytics
- Python:Master the Art of Design Patterns
- PLC編程與調試技術(松下系列)
- Windows Phone 7.5:Building Location-aware Applications
- Express Web Application Development
- Raspberry Pi Robotic Projects(Third Edition)
- MATLAB GUI純代碼編寫從入門到實戰
- Unity Character Animation with Mecanim
- 平面設計經典案例教程:CorelDRAW X6