Serialization of predicate expressions

Posts   
 
    
Posts: 17
Joined: 11-Oct-2005
# Posted on: 02-Nov-2005 23:23:46   

I need to serialize / deserialize instances of PredicateExpression to disk as to save the actual query executed. Is this possible? - or can you do something else to achieve the same?

Thanks,

Niels

Ian avatar
Ian
User
Posts: 511
Joined: 01-Apr-2005
# Posted on: 03-Nov-2005 02:15:48   

Couldn't you just save the expression's parameters?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39615
Joined: 17-Aug-2003
# Posted on: 03-Nov-2005 08:16:31   

You can serialize them using both the binary formatter and the soap formatter. To any stream you'd like. Then later on deserialize them back.

Frans Bouma | Lead developer LLBLGen Pro