We know that there are some scenarios that require us to implement transactions in code, such as SqlTransaction/ TransactionScopein the .Net framework. Questions:
SqlTransaction
TransactionScope
We want transactions to be short, to start them as long as possible and to put an end to them as soon as possible. Otherwise, concurrency hurts, and we get more wait locks and deadlocks.
.
, , - , .
Source: https://habr.com/ru/post/1767499/More articles:Cleanup after build failures - conditionalDynamically creating an Android tablet - androidHow to build an HTML5 game - jqueryCross fading in AVMutableVideoComposition - objective-cFallout cookie size larger than browser size - httpPatterns and practice. Service level? - c #Is Zend Translate an automatic language detection? - phpTrim before appointment write in SSIS? - sql-server-2008Javac исключение пакета в ANT build.xml - web-servicesHow to make a C ++ DLL call my overloaded global new operator? - c ++All Articles