Ejemplo n.º 1
0
        public ChloeSQLiteTransaction(IDbTransaction transaction, ChloeSQLiteConcurrentConnection conn)
        {
            this._transaction = transaction;
            this._conn        = conn;

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

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