Unable to load DLL oramts.dll - Oracle DB with Transcations

To use the Oracle Client with Transactions (TransactionScope) you must install: Oracle Services For MTS Client.Net_9207\Disk1 Start SETUP -> Oracle Services For MTS ... MTS = Microsoft Transaction Server Then you can use code like this with Oracle DBMS

using(System.Transactions.TransactionScope scope = new System.Transactions.TransactionScope())
{
    finally
   {
          if (conn != null)
          {
              conn.Close();
          }
   }
   scope.Complete();
}

No comments:

Post a Comment

Latest Posts

Popular Posts