Click here to Skip to main content
15,888,313 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I would like to know how I can save a list of linq in a cache and reload? Help .... I can not find a solution to this ...

Vb may be on or C #
Posted
Comments
OriginalGriff 1-Dec-14 14:12pm    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Use the "Improve question" widget to edit your question and provide better information.
Maciej Los 1-Dec-14 14:28pm    
List of what?
BillWoodruff 1-Dec-14 19:18pm    
Are you asking if a Linq expression can be "compiled" in the way that a RegEx expression can be ?

If you had a Linq expression that always operated on a List of Int, and returned a List of Int and you put that in a method body, that you passed a List of Int into, and then returned a List of Int from ... after the Linq expression did whatever to the input List: would you consider that compiled method as "caching" the Linq expression ?

1 solution

Hi
Use Binary Serialize to store on local machine with unique key combination and serialize when retrieve.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900