I'm trying to begin a transaction however on calling the .Begin()
method throws a NullReferenceException and the stacktrace shows that it is coming from IBMU2.UODOTNET.UniTransaction.ServerTransaction(Int32 aKey)
.
Has anyone successfully used UniTransaction
, if so is there something that i'm missing?
// note: Session is already connected
// and can do UniFile operations prior to this point.
UniTransaction transaction = session.CreateUniTransaction();
transaction.Begin(); // throws NullReferenceException
Note: The system is a UniData system and not a UniVerse system. Not sure if that makes a difference.