Hello, Team
It is unclear to me how to use DataContext.Commit in SnapDevelop.
I had the following code in PB.
//*******************************************
ds1 = create datastore
ds1.setTransobject(sqlca)
ds1.retrieve()
/// some code
ds1.update()
commit;
//*********************************************
In c# it looks like this:
DataStore ds1 = new DataStore(DataContext ctx)
ds1.retrieve()
/// some code
ds1.update()
ctx.Commit()
In C# commit throws exception "transaction not started". What does it mean exactly?
Connection to the DB definitely exists, retrieves are passed normally and data is being retrieved from the DB.
Is there an actual problem? How to workaround it?
Thank you
Arcady
This fixed the exception problem
Regards - Francisco