N
Nerd
I have 3 function in my component . all 3 something are like this
Open Connection
Issue SQL statements(insert /update/delete)
Close connection
Now I have an application that uses these 3 functions in various parts.
I want this application to manage transaction.
When doing operation1 this is what I need
Start Transaction
Call Function1
Call Function2
Call Function3
Commit transaction
When doing operation2 this is what I need
Start Transaction
Call Function1
Call Function3
Commit transaction
So in short I want to manage transactions across connection to the same
DB.
Is this possible with ADO.Net or Data Access Application Blocks? Or
Should I go for System.Transaction(have not read that yet).
Thanks
BCR
Open Connection
Issue SQL statements(insert /update/delete)
Close connection
Now I have an application that uses these 3 functions in various parts.
I want this application to manage transaction.
When doing operation1 this is what I need
Start Transaction
Call Function1
Call Function2
Call Function3
Commit transaction
When doing operation2 this is what I need
Start Transaction
Call Function1
Call Function3
Commit transaction
So in short I want to manage transactions across connection to the same
DB.
Is this possible with ADO.Net or Data Access Application Blocks? Or
Should I go for System.Transaction(have not read that yet).
Thanks
BCR