我的数据库中有下一张表:
Users:
id
userName
pass
1
|
*
Users_Groups:
id_user
id_group
delegate(bool)
*
|
1
Groups:
id
GroupName
...
我使用实体框架创建模型,使用 add-> EF 数据模型...在 3 个表中选择...获取 .edmx 文件
但我得到了模型:
-Users
-users_Groups
-Groups
我只想
-Users
-Groups (whit the delegate value)
我如何编辑模型或如何创建一个新模型来做到这一点?