Advertisement
Guest User

Untitled

a guest
Aug 6th, 2020
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.68 KB | None | 0 0
  1.                 var valuesCf = (from cfv in com.CustomFieldValues
  2.                                 join trCf in com.TempRapports on cfv.CustomField_id equals trCf.Ressource_Id
  3.                                 join trP in com.TempRapportsProjects on cfv.Project_id equals trP.Project_Id
  4.                                 where trP.ID == guidRap && trCf.ID == guidCf
  5.                                 group cfv by cfv.Project_id into grps
  6.                                 select new
  7.                                 {
  8.                                     grps.Key,
  9.                                     Values = grps.ToList()
  10.                                 }).ToDictionary(o => o.Key, o => o.Values);
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement