| | | StrataFrame Novice
       
Group: StrataFrame Users Last Login: Today @ 9:35:22 AM Posts: 115, Visits: 343 |
| | As an example, I have a method implemented with an SP with some business logic inside. (XOperations.UpdateX) And I need to call this method as a part of a transaction. BeginTransaction ; Object1.Save ; Xoperations.UpdateX; Object2.Save; Commit; I've found that DbSourceItem.ExecuteNonQuery method has a transactional parameters. Should I use DbSourceItem.ExecuteNonQuery method ? Or anything else ? |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 11:13:06 AM Posts: 4,104, Visits: 4,176 |
| | You will just want to use the ExecuteNonQuery on the data source: MicroFour.StrataFrame.Data.DataBasics.DataSources("").ExecuteNonQuery(MyCommand,True,"TranKey") |
| |
|
|