Hi
I have a Linq to SQL query that needs to return multiple records and therefore I cannot use Distinct. However, one of the columns will have the same value for all records.
How can I assign the value of this column to a variable without looping through the Linq resultset. Basically if the result of the Linq query was as per below;
Col1 Col2
Col3
1 Vik Oracle
2 Sam Oracle
3 Roger Oracle
How can I assign Col3 to a variable without looping through the Linq resultset and without using a Distinct in the Linq query.
Vik