我在Devexpess中使用persistent类添加了两个datatable
XPQuery<me_employee> EmployeeQuery = new XPQuery<me_employee>(XpoDefault.Session);
XPQuery<mr_role> EmployeeRoleQuery = new XPQuery<mr_role>(XpoDefault.Session);
var employees = from emp in EmployeeQuery join empRole in EmployeeRoleQuery on emp.me_role_pkey equals empRole.mr_pkey
select new { emp.me_pkey, empRole.mr_role_name };它抛出一个错误,说明。
"Specified Method is not supported"如何在Devexpress中加入linq
谢谢
发布于 2011-10-22 18:47:36
下面这篇文章解释了如何在XPQuery中使用join:
How to create and use the JoinOperand using LINQ to XPO and Criteria Operators
https://stackoverflow.com/questions/7846435
复制相似问题