Finally figured out how to set alias names in LINQ, and it’s easy.
Dim orgs = From p In db.Departments Select p.deporg, Name = p.deporg & " - " & p.depname Order By deporg
Name being the name of the concatenated field of p.deporg and p.depname.
Finally figured out how to set alias names in LINQ, and it’s easy.
Dim orgs = From p In db.Departments Select p.deporg, Name = p.deporg & " - " & p.depname Order By deporg
Name being the name of the concatenated field of p.deporg and p.depname.