I want to update the value of a column in a resultset returned by a linq query.
My code is something like this
var result=from r in db.contents
select new { match = r.text, id = r.id, index1 = (long)-1}
-- some calculation to find index value --
-- now update r.index=calculatedIndexValue for each record in result
Is this kind of operation possible?