Example #1
0
        public System.Data.Common.DbCommand GetCommand(out System.Data.Common.DbTransaction tran)
        {
            SQLiteCommand cmd = new SQLiteCommand(_Conn);

            cmd.Transaction    = _Conn.BeginTransaction();
            cmd.CommandTimeout = _CommandTimeOut;
            tran = cmd.Transaction;
            return(cmd);
        }
Example #2
0
 public void Rollback(System.Data.Common.DbTransaction tran)
 {
     tran.Rollback();
 }
Example #3
0
 public void Commit(System.Data.Common.DbTransaction tran)
 {
     tran.Commit();
 }