|
/*Specifying automatic transaction type for a web method TransactionOption attribute can take values: Disabled: The method will ignore any transaction in the current context. NotSupported: The method will run in context with no governing transaction Required: The method will Shares a transaction, if one exists, and creates a new transaction, if necessary. RequiresNew:The method will run in the context of a new transaction, regardless of the state of the current context. Supported: The method will Shares a transaction, if one exists. System.EnterpriseService.dll is required in order to enable transaction in a web method. */ [WebMethod (TransactionOption=TransactionOption.Required)]
public bool Process_EmployeeBenefit(Employee oEmployee) {
|