Serializing and Deserializing Expression Trees in C#
Problem:
Can expressions be deserialized in C#? The goal is to store expressions in a database and retrieve them at runtime.
Solution:
The ExpressionTree library, originally mentioned in a previous article on this topic, provides a solution. While the original project was discontinued in 2008, subsequent work has revived it, making it compatible with .NET 4.0 and Silverlight.
Bug fixes and DAL independence enhancements have been implemented in the revised version of the library.
Resources:
The updated ExpressionTree library is available on CodePlex: http://expressiontree.codeplex.com/
The above is the detailed content of Can I Serialize and Deserialize Expression Trees in C# for Database Storage?. For more information, please follow other related articles on the PHP Chinese website!