My question is related to use of nhibernate transactions
Is the transaction.Begin()
below a problem? or just redundant?
using (var transaction = session.BeginTransaction())
{
transaction.Begin();
action();
transaction.Commit();
}
After checking the source, transaction.Begin()
is in fact redundant - a harmless no-op.
link to source
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With