c# - Save/Serialize LINQ query -


is there anyway serialize linq query in order persist , use later?

something this:

var serializedquery = context.users.where(row => row.id == 1).serialize(); 

it can serialized xml, json or binary long can parse linq query.

sure, can use first result on google open source library shows how it. or can use library as-is.

there's no out of box feature it, far know. serializing method signatures , iqueryables sticky problem.