Below query facing issue selecting multiple columns.
var relSite = (from d in _context.Account
join c in _context.AccountRel on d.ID equals c.RelID
join s in _context.AccountType on c.PrelID equals s.ATypeID
where c.ARelID == accountid && s.Type == "Test"
select a.ID)
.Union
var relSite = (from d in _context.Account
join c in _context.AccountRel on d.ID equals c.RelID
join s in _context.AccountType on c.PrelID equals s.ATypeID
where c.ARelID == accountid && s.Type == "Test"
select a.ID)


Ramesh PalanivelRank #372 · 6.8K reputationPosted Oct 31, 2019, 5:42 AM EDT
SanRank #1,770 · 846 reputationPosted Oct 31, 2019, 6:08 AM EDT