Beispiel #1
0
 public override void OnEndTransaction()
 {
     if (_instance == this)
     {
         _instance = null;
     }
 }
Beispiel #2
0
 public override void OnBeginTransaction()
 {
     if (_instance == null)
     {
         _instance = this;
     }
 }
Beispiel #3
0
        public int Insert()
        {
            t_test test = new t_test();

            test.Name   = "aaaa";
            test.Remark = "备注";
            int count = QSDMS_MySQLDB.GetInstance().Execute("insert into t_test(name,remark) values(@0,@1)", "aaaaa", "备注111");

            return(count);
        }