You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before Calling scoep.complete() method, the inserted value is committed in DB2 and able to be seen by querying in the DB2 table.
The text was updated successfully, but these errors were encountered:
ras90it
changed the title
C# ADO.NET Transaction Scope Auto Committed Before Calling Complete()
C# ADO.NET (System.Data.OleDb) Transaction Scope Auto Committed Before Calling Complete()
Sep 4, 2023
This repo is not a good place for asking this kind of question. I think something like Stack Overflow has a much better chance of getting you the answer you're looking for.
`string sqlConnectionString = ""; // CONNECTION_STRING
using (TransactionScope scope = new TransactionScope())
{
try
{
using (OleDbConnection myCon = new OleDbConnection(db2ConnectionString))
{
myCon.Open();
}`
Reproduction Steps:-
The text was updated successfully, but these errors were encountered: