我们如何在mvc中连接多个表 [英] how can we connect many tables in mvc

查看:101
本文介绍了我们如何在mvc中连接多个表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目是关于领域

在域名表中的dotnet,php,wordpress;

在域名中有样本和项目所以

in你添加上传模拟,所以,如果你点击点网你会得到所有的模拟,所以如果你点击dotnet示例你只会得到saples如果你点击点网和项目你只会得到那个项目所以我采取了多少表和什么tbable给予一些帮助

my project is about domain
in domain table dotnet,php,wordpress;
in domains have sample and project so
in that u add uploads mocks so if u click dot net u will get all mocks in that so if u click dotnet sample u will get only saples and if u click dot net and project u will get that projects only so how many table i taken and what tbable give some help

推荐答案

这没有任何意义。表存在于您的数据库中,并且可以具有与数据所需的级别一样多的级别。您可以编写MVC页面,以您需要的任何格式显示您喜欢的数据库中的任何数据。如果您需要更多信息,请尝试更清楚地解释自己
This makes zero sense. Tables exist in your database, and can have as many levels as your data requires. Your MVC page can be written to show any data you like from your database, in any format you require. If you need more information, try to explain yourself more clearly


这篇关于我们如何在mvc中连接多个表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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