private static TransactionManager CreateTransaction()
{
TransactionManager transactionManager = null;
if (DataRepository.Provider.IsTransactionSupported)
{
transactionManager = DataRepository.Provider.CreateTransaction();
transactionManager.BeginTransaction(System.Data.IsolationLevel.ReadUncommitted);
}
return transactionManager;
}