在 C# 中序列化和反序列化表达式树 [英] Serializing and Deserializing Expression Trees in C#
本文介绍了在 C# 中序列化和反序列化表达式树的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法在 C# 中反序列化表达式,我想将表达式存储在数据库中并在运行时加载它们.
Is there a way to Deserialize Expressions in C#, I would like to store Expressions in a Database and load them at run time.
推荐答案
我继续研究 在 C# 中序列化和反序列化表达式树
该项目似乎已被放弃(2008 年),但我做了一些工作,现在它可以与 .NET 4.0 和 Silverlight 一起使用.我对他们的代码进行了错误修复,并使其更加独立于 DAL.
It looks like the project was abandoned (2008) but I did some work on it and now it works with .NET 4.0 and Silverlight. I made bug fixes to their code and also made it more DAL-independent.
http://expressiontree.codeplex.com/
这篇关于在 C# 中序列化和反序列化表达式树的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文