Open ras90it opened 1 year ago
string db2ConnectionString = ""; string insertQuery = ""; // INSERT QUERY
using (TransactionScope scope = new TransactionScope()) { try {
using (DB2Connection myCon = new DB2Connection(db2ConnectionString)) { myCon.Open(); DB2Command cmd = new DB2Command() { CommandType = CommandType.Text, CommandText = insertQuery, // INSERT QUERY Connection = myCon }; _ = cmd.ExecuteNonQuery(); } } catch (Exception ex) { throw; }
}
Reproduction Steps:-
string db2ConnectionString = ""; string insertQuery = ""; // INSERT QUERY
using (TransactionScope scope = new TransactionScope()) { try {
}
Reproduction Steps:-