You are modifying a Windows Communication Foundation (WCF) service that allows customers to update financial data. The service currently requires a transaction from the client application and is working correctly. The service contract is defined as follows. (Line numbers are included for reference only.)<br /> 01 [ServiceContract( )]<br /> 02 public interface IDataUpdate<br /> 03 {<br /> 04 [OperationContract( )]<br /> 05 [TransactionFlow(TransactionFlowOption.Mandatory)]<br /> 06 void Update(string accountNumber, double amount);<br /> 07<br /> 08 }<br /> 09<br /> 10 public class UpdateService : IDataUpdate<br /> 11 {<br /> 12<br /> 13 [OperationBehavior(TransactionScopeRequired=true, TransactionAutoComplete=true)]<br /> 14 public void Update(string accountNumber, double amount)<br /> 15 {<br /> 16 try<br /> 17 {<br /> 18 ...<br /> 19 }<br /> 20 catch(Exception ex)<br /> 21 {<br /> 22 ...<br /> 23 }<br /> 24 }<br /> 25 }The service must be modified so that client applications do not n
A、Replace line 05 with the following code. [TransactionFlow(TransactionFlowOption.NotAllowed)]
B、Replace line 13 with the following code. [OperationBehavior(TransactionScopeRequired=false, TransactionAutoComplete=true)]
C、Replace line 05 with the following code. [TransactionFlow(TransactionFlowOption.Allowed)]
D、Replace line 13 with the following code. [OperationBehavior(TransactionScopeRequired=false, TransactionAutoComplete=false)]