Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私の質問は、nhibernate トランザクションの使用に関連しています
以下はtransaction.Begin()問題ありませんか?または単に冗長ですか?
transaction.Begin()
using (var transaction = session.BeginTransaction()) { transaction.Begin(); action(); transaction.Commit(); }
ソースを確認した後transaction.Begin()、実際には冗長です-無害なノーオペレーションです。
ソースへのリンク