Classes

  ClassDescription
Public classThreadCultureScope
Will set the threads Culture and reset it to the original value when this is disposed of.

Examples

using( var cultureScope = new ThreadCultureScope( new CultureInfo("da-DK") ) ) { // Code here will run in da-DK scope. // Culture in effect before the using statement will be reset when exiting the using. }
Public classThreadDataManager
This class coordinates data connections and ensures that multiple requests to SQL Server will reuse the same sql connection, allowing transactions to run without the use of MSDTC