Hi,
With class RoleRecord (Guid RoleId, string RoleName,...) I am trying to get a new list of Name where the RoleId matches a list of Guid
IEnumerable<RoleRecord> roles;
IEnumerable<Guid> roleIds;
I was thinking about avoiding the nested for loops, and along the lines of :
var query =
from rowA in roles
join rowB in roleIds
on rowA.RoleId equals rowB.????
select { rowA.RoleName };
I tried to wrap the guid in a class too, but cant even build it because the syntax is wrong. Any ideas? Thanks