Professional C# 5.0 and .NET 4.5.1 by Christian Nagel & Jay Glynn & Morgan Skinner
Author:Christian Nagel & Jay Glynn & Morgan Skinner
Language: eng
Format: epub
Published: 2014-02-14T00:00:00+00:00
The following table summarizes the problems that can occur as a result of setting the most commonly used transaction isolation levels:
The following code segment shows how the isolation level can be set with the TransactionScope class. With the constructor of TransactionScope, you can set the TransactionScopeOption that was discussed earlier and the TransactionOptions. The TransactionOptions class allows you to define the IsolationLevel and the Timeout.
var options = new TransactionOptions { IsolationLevel = IsolationLevel.ReadUncommitted, Timeout = TimeSpan.FromSeconds(90) }; using (var scope = new TransactionScope( TransactionScopeOption.Required, options)) { // Read data without waiting for locks from other transactions, // dirty reads are possible. }
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(12641)
Hello! Python by Anthony Briggs(9946)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9818)
The Mikado Method by Ola Ellnestam Daniel Brolund(9813)
Dependency Injection in .NET by Mark Seemann(9368)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8332)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7788)
Grails in Action by Glen Smith Peter Ledbrook(7719)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7590)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(7376)
Microservices with Go by Alexander Shuiskov(7136)
Practical Design Patterns for Java Developers by Miroslav Wengner(7058)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6999)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6443)
Angular Projects - Third Edition by Aristeidis Bampakos(6417)
The Art of Crafting User Stories by The Art of Crafting User Stories(5946)
NetSuite for Consultants - Second Edition by Peter Ries(5859)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5670)
Kotlin in Action by Dmitry Jemerov(5092)
