asp.net中的关系dataModel [英] Relational dataModel in asp.net

查看:74
本文介绍了asp.net中的关系dataModel的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Helló,我需要帮助理解建模中的关系。

在我的asp.net项目中,我的模型中有两个类,即个人资料和社交版。

现在,如果我在浏览器中访问个人资料页面,我想要我想要显示个人资料和社交的详细信息。

另一件事,为什么当我在个人资料类中使用'公共虚拟社交社交{get; set;}'时,它在配置文件视图中显示为下拉列表而不是详细信息。请帮帮我。感谢您对优秀程序员的理解。

Helló, please i need help in understanding relations in Modeling.
In my asp.net project, i have two class in my model namely profile and social.
Now, i want that if i go to profile page in my browser, i want both the details of the profile and the social to be displayed.
Another thing, why is it that when i use 'public virtual social social {get;set;}' in the profile class, it displays as a dropdownlist in profile view instead of the details. Please help me out here. Thank you for your understanding great programmers.

推荐答案

http://channel9.msdn.com/Blogs/ASP-NET-Site-Videos/designing-relational-database-tables [ ^ ]


这篇关于asp.net中的关系dataModel的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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