i have a wrapper class for TransactionScopes being used in multiple places, one of them is the root. what is the best way to test my nested TransactionScopes actually work? For example, i want to make sure that when my wrapper's Displose() is called, all TransactionScopes are now null. also, what is the best way to find out which TransactionScope i am looking at, via System.Thread.Current?
You want to test the read commited isolation level vs other isolation levels? Or you simply want to confirm that a transaction is properly being rolled back?
A basic test would be (basics like connecting
Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.
Extention Methods in C# 3.0
by Ivo Stoykov
C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance.
These are static methods invoked as instance method. This…
C# And Nullable Types
Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred.
This will be demonstrated using Adobe Premiere Pro CS6.