Default Object being modified because of LINQ Query
- by msarchet
I'm doing the following code to filter a list of objects before it gets sent off to be printed.
Dim printList As New List(Of dispillPatient)
For Each pat As dispillPatient In patList
If (From meds In pat.Medication Select meds Where meds.Print = True).Count > 0 Then
Dim patAdd As New dispillPatient
…