Search code examples
wcftransactionswcf-binding

what is the diff between setting transactionflowoption.mandatory and TransactionScopeOption.Required


What is the difference between setting TransactionFlowOption.Mandatory and TransactionScopeOption.Required?


Solution

  • Basically TransactionFlowOption and TransactionScopeOption refer to different things with TransactionFlowOption relating to whether an operation joins (or does not etc.) an existing (client-side-initiated for example) transaction while TransactionScopeOption can enforce that the operation is executed within a new (service-initiated) transaction...