此查询的SQL翻译的linq是什么
SELECT *
FROM MasterTable AS [t0]
Outer APPLY UfnGetDetail([t0].x, [t0].y, z) AS [t2]
...
答案 0 :(得分:1)
好的,它可以用这样的东西
var query = from mt in db.MasterTable
let detailResult = db.UfnGetDetail(mt.x, mt.y, z).SingleOrDefault()...
答案 1 :(得分:0)
你试过这个:
from mt in dc.MasterTable
select dc.UfnGetDetail (mt.x, mt.y)