Transactions (WSSF V3)

Topics: Service Factory Modeling Edition Forum
Nov 21, 2007 at 1:01 PM
Hi,

WSSF seems to be missing the WCF transaction settings on the service and operation behaviour attribute. Like for example:
OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)
public void SomeOperation()

It also seems to be missing the ability to set the WCF TransactionFlow attribute on a operation contract. Like for example:
OperationContract
TransactionFlow(TransactionFlowOption.Mandatory)
void SomeOperation();

Did I mis something or is this intentional?

Thanks,

Gerben.
Coordinator
Nov 21, 2007 at 10:29 PM
Hey Gerben,

You didn't miss anything, we just didn't include those properties in the model. As you know, the models are providing a level of abstraction over the code. If you want the ability to store these decisions in the model, you'll have to add the properties to the WCF extender. Fortunately, this is a relatively easy change that only requires rebuilding one assembly and making a small change to the appropriate text template.

Don
Nov 22, 2007 at 6:46 AM
Thanks Don.

Gerben.