Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix Connection property to allow setting to null, and fix Dispose method to erase the command from the connection |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | sourceforge |
Files: | files | file ages | folders |
SHA1: |
5514a73a4e54d717a9ab686854f7d834 |
User & Date: | rmsimpson 2006-01-06 16:46:41.000 |
Context
2006-01-10
| ||
18:38 | no message check-in: 9bc8258798 user: rmsimpson tags: sourceforge | |
2006-01-06
| ||
16:46 | Fix Connection property to allow setting to null, and fix Dispose method to erase the command from the connection check-in: 5514a73a4e user: rmsimpson tags: sourceforge | |
2005-12-30
| ||
16:43 | 1.0.24.2 check-in: be65e0d94a user: rmsimpson tags: sourceforge | |
Changes
Changes to System.Data.SQLite/SQLiteCommand.cs.
︙ | ︙ | |||
130 131 132 133 134 135 136 | /// <summary> /// Disposes of the command and clears all member variables /// </summary> /// <param name="disposing">Whether or not the class is being explicitly or implicitly disposed</param> protected override void Dispose(bool disposing) { base.Dispose(disposing); | | < | 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 | /// <summary> /// Disposes of the command and clears all member variables /// </summary> /// <param name="disposing">Whether or not the class is being explicitly or implicitly disposed</param> protected override void Dispose(bool disposing) { base.Dispose(disposing); Connection = null; _parameterCollection.Clear(); _commandText = null; } /// <summary> /// Clears and destroys all statements currently prepared /// </summary> internal void ClearCommands() |
︙ | ︙ | |||
303 304 305 306 307 308 309 | if (_cnn != null) { ClearCommands(); _cnn._commandList.Remove(this); } _cnn = value; | > > | | 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 | if (_cnn != null) { ClearCommands(); _cnn._commandList.Remove(this); } _cnn = value; if (_cnn != null) _cnn._commandList.Add(this); } } /// <summary> /// Forwards to the local Connection property /// </summary> protected override DbConnection DbConnection |
︙ | ︙ |