public static oracleconnection dbconn = new oracleconnection("..."); OracleTransaction dbtrans=null; public void insert() { dbconn.open(); dbconn.begintx(); // more code here ... } public void update() { dbconn.open(); dbconn.begintx(); // more code here ... } public transaction begintx() { return dbconn.BeginTransaction(); }
"oracle connection cannot support parallel transactions"
string yourconnectionstring = "user id=username;" + "password=yourpassword;" + "data source=yourdatasource;" + "enlist=false" + "pooling=false";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)