Linq and Windows Workflow Foundation
I'd need to pass a Linq object to a workflow built upon WWF, but IQueryable class is not marked as serializable.
Can anybody suggest me a valid workaround?
Thanks
I'd need to pass a Linq object to a workflow built upon WWF, but IQueryable class is not marked as serializable.
Can anybody suggest me a valid workaround?
Thanks
fact that IQueryable is not [Serializable] attributed does not mean that class that implements IQueryable can not be [Serializable] attributed
Except that Expression isn't serializable, either.
One of the problems in serializing expressions involves the question of how to serialize (object) references, and references to methods that may not exist on the remote end. Decide how you want to deal with that, and you could create a class to serialize the expression trees in a way suitable to your needs.