Work on EF 4 C#.Face problem in join . sql syntax
Select a.Code, b.Name from DepartmentMaster a
Join DepartmentDetail b on isnull( a.ID,0) =isnull( b.ID,0)
Note: a.ID ,b.ID Both are nullable
Want above syntax out put in Linq syntax .Bellow syntax is not working for me
Var r=from a in DepartmentMaster
Join b in DepartmentDetail on a.ID equals b.ID
Select a.Code,b.Name
Need help to write sql syntax isnull() comparable process in linq ef.
If have any query please ask.