_session.GetCurrentTransaction() It will return a transaction if it is active. And null if there is no active transaction.
On Tue, Oct 27, 2020 at 2:17 AM Junior Lapuñete <[email protected]> wrote: > > it is already obsolete how can i fix this? -> _session.Transaction.IsActive > > thanks. > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nhusers/7e0224ab-34f7-4345-ab03-507160620a9fn%40googlegroups.com > <https://groups.google.com/d/msgid/nhusers/7e0224ab-34f7-4345-ab03-507160620a9fn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nhusers/CAMKuk26Bm474j3_RWBG1r7MAwmzckindsdtPGd2zS7zdFDP0pg%40mail.gmail.com.
