Hi,
I am new to ADO.NET and learning it.
I was wondering if Data Adapter in ADO.NET provides atomicity or ACID properties by itself when filling the Data Set and updating the Database
or do we have to use transaction explicitly to achieve this.
Lets say,
- I want to fetch data from the Database through the Data Adapter to a Data Set
- Send some information to a website
- Make some changes to the data in Data Set
- Update the Database using DataAdapter.Update(DataSet)
I want all the steps (can exclude first step if needed, as it will be a offline data which can be fetched in one go) to be done in one go, atomically, will I need a transaction ?
If not how to achieve this ?
Help in this regard would be appreciated.
Thanks,
Mahesh Velaga.