如何使用实体框架在一个视图中的多个表上执行ASP.NET MVC中的CRUD操作? [英] How to perform CRUD operation in ASP.NET MVC on multiple table in one view with entity framework?
本文介绍了如何使用实体框架在一个视图中的多个表上执行ASP.NET MVC中的CRUD操作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
CRUD操作演示与实体框架。
如何创建视图以插入,更新,删除和显示来自多个表的数据。
哪种方式是安全的?
请详细说明。
我尝试过:
我已在单个视图中搜索并尝试了多个表数据但不可能。
CRUD operation Demo with Entity Framework.
How to create view for insert, update, delete and show data from multiple table.
which way is secured?
please explain it detail.
What I have tried:
I have searched and tried but not possible from multiple table data in single view.
推荐答案
查看此链接
< a href =http://sampathloku.blogspot.com.eg/2012/10/how-to-use-viewmodel-with-aspnet-mvc.html>如何在ASP.NET MVC中使用ViewModel Sampath Lokuge技术博客 [选中此项]
查看下面的文章
CRUD在单一视图中
may这对你来说是完美的解决方案。
快乐编码。
Check my article below
CRUD in single view
may be this is perfect solution for you.
happy coding.
这篇关于如何使用实体框架在一个视图中的多个表上执行ASP.NET MVC中的CRUD操作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文