Bonjour,
Ma question est assez simple comment transformer ce bout de code en une seule requête linq?
Merci.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8 objList = (From L As Ligne In malLignes).ToList For Each objLigne As Ligne In objList getCelluleByRef = (From C As Cellule In objLigne.Cellules Select C Where C.GetAttribut("ref") = strRef).FirstOrDefault If Not getCelluleByRef Is Nothing Then Exit For End If Next
Partager