A database column contains following values
SampleColumnValues
T1
T2
T3,T4
T5,T6
T7
T8
When, I try to read these values, it is perfectly possible using the IQueryable.Select() method to get this specific column from DB and convert it to an array using ToArray().
But, I also need the comma delimited values in the originally returned array as individual array elements.
For now, I have a separate method to do the additional splitting.
Can I achieve the same with stock methods available?
The resultant array I need should be like {T1, T2, T3, T4, T5, T6, T7, T8}
1 Answer