コード例 #1
0
 public override void OnEndTransaction()
 {
     if (_instance == this)
     {
         _instance = null;
     }
 }
コード例 #2
0
 public override void OnBeginTransaction()
 {
     if (_instance == null)
     {
         _instance = this;
     }
 }
コード例 #3
0
        public ManagerIORepository GetRepository(bool enableAutoSelect = false, bool enableNamedParams = false)
        {
            ManagerIORepository repository = null;

            repository = new ManagerIORepository("ManagerIO");

            repository.EnableAutoSelect  = enableAutoSelect;
            repository.EnableNamedParams = enableNamedParams;

            return(repository);
        }