public ChloeSQLiteTransaction(IDbTransaction transaction, ChloeSQLiteConcurrentConnection conn) { this._transaction = transaction; this._conn = conn; this._conn.RWLock.BeginTransaction(); }
public IDbConnection CreateConnection() { IDbConnection conn = new ChloeSQLiteConcurrentConnection(this._dbConnectionFactory.CreateConnection()); return(conn); }
public ChloeSQLiteCommand(IDbCommand dbCommand, ChloeSQLiteConcurrentConnection conn) { this._dbCommand = dbCommand; this._conn = conn; }
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(); }