What are different Transaction Isolation Levels in WCF?

Here, the [Service Behavior] attribute specifies the Transaction Isolation level property. 

Transaction Isolation specifies the degree of isolation most compatible with other applications. 

The data affected by a transaction is called volatile.

There are 5 differenct types of Isolation levels in WCF, as follows-

1. READ UNCOMMITTED : - An uncommitted transaction can be read. This transaction can be rolled back later.

2. READ COMMITTED :- Will not read data of a transaction that has not been committed yet.

3. REPEATABLE READ : - Locks placed on all data and another transaction cannot read.

4. SERIALIZABLE :- Does not allow other transactions to insert or update data until the transaction is complete.

5. SNAPSHOT : - It raises error on modifying a data that has already been changed by any transaction.

No comments:

Post a Comment

What are different Transaction Isolation Levels in WCF?

Here, the [Service Behavior] attribute specifies the Transaction Isolation level property.  Transaction Isolation specifies the degr...