Is there a way using Linq to SQL that I can alias a data member using an ordinal number ?
Dim query1 = From q In source Select q.dogName, q.dogType
Dim query2 = From q In source Select q.fishColor, q.fishSize
Dim data = From d In query Select column1= d.DataMember(1), column2=d.DataMember(2)
Basically I'm trying to get (and alias) the first two columns of the source query without having to specify their names.
Hope that makes sense.