LINQ用于关系数据 [英] linq for relational data

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

问题描述

我有三个表,分别是"Roles","Paths","RolesPathsXref"表.在角色"表中,RoleId为primarykey,在路径"表中,pathId为primarykey. RolesPathsXref表具有两列,分别具有RoleId和PathId.两者都是主键和外键.我需要从RolesPathsXref表中获取数据,但是该表不在我的.edmx文件中.我没有这张桌子.

i have three tables those are ''Roles'', ''Paths'', ''RolesPathsXref'' tables. In Roles table RoleId is primarykey and In paths table pathId is primarykey. RolesPathsXref table has two columns having RoleId, PathId . Both are primary keys and foreign keys. i need to get data from the RolesPathsXref table, but the table is not coming in the my .edmx file. I''m not getting this table. Can anyone help me to find this.

推荐答案

我搜索了您的问题,并在三个位置找到了"RolesPathsXref",但未找到表本身. :-)
你有提示吗?

—SA
I search you question and found "RolesPathsXref" at three positions but the table itself is not found. :-)
Did you get a hint?

—SA


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

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