This question is locked. New answers and comments are not allowed.
I must be missing something simple. I'm trying to do a Left or Right Outer Join using LINQ but it doesn't seem to work with Data Access:
It does not like the "Into" lines.
Any help would be appreciated.
Thanks,
ND
Dim myFields As IEnumerable(Of LibFieldNameValues) = (From c In dbContextLib.LibItemFields Join d In dbContextLib.LibItemFieldOptions On c.ItemFieldID Equals d.ItemFieldID Join q In dbContextItem.ItemDetails On d.ItemFieldOptionID Equals q.ItemFieldOptionID Into t From q In t.DefaultIfEmpty() Where d.CommodityID = CommodityID And q.ItemID = ItemID Select New LibFieldNameValues With {.FieldName = c.FieldName, .FieldValue = q.OptionValue})It does not like the "Into" lines.
Any help would be appreciated.
Thanks,
ND