Do you have recommendations on how to integrate Workflow Foundation 4 with DataObjects.Net? I'm currently in the process of choosing to use the workflow or not. I'm seeing this problems for now:
PS: Just asking in case there is some expert here! |
I'm not quite familiar with WWF 4, so my answer will address just mentioned issues: 1. Thread handling DO doesn't limit you to use just a single
Btw, upcoming v4.4 allows to disable automatic activation behavior for a particular session - we provide method overloads accepting 2. Persistence As far as I can judge, this question is related to support of distributed transactions (support of 3. Arguments serialization True, you can't do that. I don't understand why it's necessary to pass So I can suggest you to pass:
Also note that you can serialize and deserialize Hopefully, this will help. If there will be any issues with proposed solutions (or others), I'll be willing to help. Alex, i am curios what is and how to use Ref(of T) ? Have you somewhere an example about using it, when it is usedful? It is a typed and serializable reference to any
Continuing:
And finally:
Thanks Alex, and in which situations can be useful to use Ref(of T) ? Thanks Alex and Peter for your ideas, I'll come back if I have more questions. It's useful to have a typed version of Key : this should be in manual ;) Alex: concerning Ref<t> you should a method/property to get Ref<t> from Entity or Key : the implicit cast is not easily discoverable by intellisense in Visual Studio and is a bit surprising when you read the code. Peter: If think the use of Ref<t> is when you need a serializable key to an entity (typically to use outside a transaction), and you want a typed key to get a constraint on the type of refered entity. Alex: Another remark on Ref<t> : Ref<myentity> myentityRef = null; does not compile. I'll add few more constructors there to make usage of implicit casts optional ( Concerning |