linq中完全外连接的正确语法是什么

时间:2013-11-20 19:49:53

标签: linq entity-framework

我是linq的新手,我无法为此sql语句获取正确的语法。

SELECT
    A.AssetName,
    B.MPercentage,
    B.OPercentage,
    B.IsStateDefault,
    D.ShortName
FROM [Core].[dbo].[Asset] A
FULL OUTER JOIN [Core].[dbo].[PayrollMarkup] B
ON A.PayrollMarkupID = B.PayrollMarkupID
FULL OUTER JOIN [Core].[dbo].[StatePayrollMarkup] C
ON B.PayrollMarkupID = C.PayrollMarkupID
FULL OUTER JOIN [Core].[dbo].[StateLookup] D
ON C.StateID = D.StateID
WHERE A.AssetName IS NOT null

0 个答案:

没有答案