示例#1
0
 //结束事务
 public override void OnEndTransaction()
 {
     if (_instance == this)
         _instance = null;
 }
示例#2
0
 //开始事务
 public override void OnBeginTransaction()
 {
     if (_instance == null)
         _instance = this;
 }