I am evaluating DOA and cannot figure out how to start a transaction. With BDE compatible code it would look like
DataBase.StartTransaction;
try
DoSomeStuff
DataBase.Commit;
except
DataBase.RollBack;
end;
How do I do this with DOA? I see the rollback and commit methods of the session component, but no begin/start method.
Thanks
DataBase.StartTransaction;
try
DoSomeStuff
DataBase.Commit;
except
DataBase.RollBack;
end;
How do I do this with DOA? I see the rollback and commit methods of the session component, but no begin/start method.
Thanks