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

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

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