예제 #1
0
        public ChloeSQLiteTransaction(IDbTransaction transaction, ChloeSQLiteConcurrentConnection conn)
        {
            this._transaction = transaction;
            this._conn        = conn;

            this._conn.RWLock.BeginTransaction();
        }
예제 #2
0
        public IDbConnection CreateConnection()
        {
            IDbConnection conn = new ChloeSQLiteConcurrentConnection(this._dbConnectionFactory.CreateConnection());

            return(conn);
        }
예제 #3
0
 public ChloeSQLiteCommand(IDbCommand dbCommand, ChloeSQLiteConcurrentConnection conn)
 {
     this._dbCommand = dbCommand;
     this._conn      = conn;
 }
예제 #4
0
 public ChloeSQLiteCommand(ChloeSQLiteConcurrentConnection connection) : base(connection.PersistedConnection.CreateCommand())
 {
     this._connection = connection;
 }
예제 #5
0
 public ChloeSQLiteTransaction(ChloeSQLiteConcurrentConnection connection, IsolationLevel il) : base(connection.PersistedConnection.BeginTransaction(il))
 {
     this._connection = connection;
     this._connection.RWLock.BeginTransaction();
 }