Hello,
My question of the day today is how to ‘invoke’ transaction in a Relativity based project?
I was looking at ‘Handling Transaction from client side’ post by MSoft and answered by elenap however this question dealt regarded project antecedent to Relativity, where you could write code right on the server (at least that’s what I understand), so a line of this sort:
Connection.BeginTransaction;
was all that was needed.
Working with Relativity however, I can’t see how to invoke the transaction. Is it that I need to drop TDAConnectionManager component, and call a transaction on one of its connections? ie. ConnectionManager.Connection[0].BeginTransaction?
Or can I instantiate IDataService via the ClassFactory and then call a transaction on that?
Or in what other way do I accomplish that?
Regards!