如何使用自引用表与mvc数据库的第一种方法,请帮忙 [英] how to use self referenced table with mvc database first approach, please help

查看:59
本文介绍了如何使用自引用表与mvc数据库的第一种方法,请帮忙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我是mvc的新手。我们如何使用自引用表与mvc,以便可以选择新项的父项是以前创建的项之一.Plase帮助?



谢谢和问候



I am new to mvc. How do we use self referenced table with mvc, so that can select parent of the new item is one of the previously created item.Plase help?

Thanks and Regards

推荐答案

请阅读下面提到的文章了解更多信息。



使用实体框架自助引用表



数据库第一个自引用实体
Please read the below mentioned articles for more info.

Using Self Referencing Tables With Entity Framework

database first self referencing entity


这与MVC无关。它与Entity Framework有关。



MVC代表模型视图控制器,是一种在ASP.NET之上运行以生成网页的技术。 />


你的问题实际上并不负责任,因为它太模糊了。您没有具体说明您对数据的处理方式以及在客户端如何呈现数据。
This has nothing to do with MVC. It everything to do with Entity Framework though.

MVC stands for Model View Controller and is a technology that runs on top of ASP.NET to generate web pages.

Your question isn't really answerable since it's too vague. You're not specifying what you're doing with the data and how it's being rendered on the client side.


这篇关于如何使用自引用表与mvc数据库的第一种方法,请帮忙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆