Praveen
Praveen

Reputation: 21

How .net allows nested transactions with TransactionScopeOption

I have learned that Oracle & sql server database does not allow nested transactions. Then how does c# allow us to perform nested transactions using transactionscopeoption?

Upvotes: 1

Views: 538

Answers (1)

SLaks
SLaks

Reputation: 887453

SQL Server does support nested transactions.

Had it not supported nested transactions, you would (presumably) have gotten an exception when using SQL Server in a nested transaction.

Upvotes: 2

Related Questions