The type of transaction you are referring to is a distributed transaction. This allows the client to make several calls on the server (or even on several different servers), as well as make them or roll back completely.
WCF supports distributed transactions through the WS-AtomicTransaction protocol (WS-AT). This protocol is SOAP oriented. Therefore, to use WCF transactions, you must use SOAP - not REST.
Although you will not have distributed transactions through REST, you can still use database transactions as part of a specific method. For example, you can implement the POST operation, which sends an order, and updates the Order and OrderLine database tables in a single transaction as part of this method. Thus, just because your application is heavily connected with transactions does not necessarily mean that the distributed types of transactions that are a problem for REST will be important in your environment.
Jason kresowaty
source share