Ticket Hash: | fcb5a89f5ccce10be13839f889b6250b8821d886 | ||
Title: | SQLiteConnection.BeginTransaction returns a Transaction object with Connection == null | ||
Status: | Closed | Type: | Incident |
Severity: | Important | Priority: | Medium |
Subsystem: | Transaction | Resolution: | Overcome_By_Events |
Last Modified: |
2018-01-27 22:37:11 7.45 years ago |
Created: |
2017-12-27 15:48:12 7.54 years ago |
Version Found In: | 1.0.106 |
User Comments: | ||||
anonymous added on 2017-12-27 15:48:12:
This simple code will return a transaction object with the Connection property set to null, while the documentation states that it returns the underlying connection: Connection (inherited from SQLiteTransactionBase) Returns the underlying connection to which this transaction applies. var cn = new SQLiteConnection(_ConnectionString); cn.Open(); var tr = cn.BeginTransaction(); mistachkin added on 2018-01-24 16:35:51: Do you have some example code which demonstrates this issue? The only way I can see that the transaction connection could be null is *after* it has been rolled back or committed. mistachkin added on 2018-01-26 03:11:20: This may be related to [5cee5409f8].
|