Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Compatibility updates with the newer releases of the .NET 2.0 Framework |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | sourceforge |
Files: | files | file ages | folders |
SHA1: |
8cccd928d11f0350267d6978e1c5b71f |
User & Date: | rmsimpson 2005-09-16 17:39:54.000 |
Context
2005-10-05
| ||
19:33 | 1.0.19 check-in: 35ace076c2 user: rmsimpson tags: sourceforge | |
2005-09-16
| ||
17:39 | Compatibility updates with the newer releases of the .NET 2.0 Framework check-in: 8cccd928d1 user: rmsimpson tags: sourceforge | |
2005-09-01
| ||
06:09 | Unnecessary check-in: 053071d711 user: rmsimpson tags: sourceforge | |
Changes
Changes to System.Data.SQLite/SQLiteConnection.cs.
︙ | ︙ | |||
497 498 499 500 501 502 503 | /// Parses the connection string into component parts /// </summary> /// <returns>An array of key-value pairs representing each parameter of the connection string</returns> internal KeyValuePair<string, string>[] ParseConnectionString() { string s = _connectionString; int n; | < < < | | 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 | /// Parses the connection string into component parts /// </summary> /// <returns>An array of key-value pairs representing each parameter of the connection string</returns> internal KeyValuePair<string, string>[] ParseConnectionString() { string s = _connectionString; int n; List<KeyValuePair<string, string>> ls = new List<KeyValuePair<string, string>>(); // First split into semi-colon delimited values. The Split() function of SQLiteBase accounts for and properly // skips semi-colons in quoted strings string[] arParts = SQLiteConvert.Split(s, ';'); string[] arPiece; int x = arParts.Length; // For each semi-colon piece, split into key and value pairs by the presence of the = sign for (n = 0; n < x; n++) { arPiece = SQLiteConvert.Split(arParts[n], '='); if (arPiece.Length == 2) { ls.Add(new KeyValuePair<string, string>(arPiece[0], arPiece[1])); } } KeyValuePair<string, string>[] ar = new KeyValuePair<string, string>[ls.Count]; ls.CopyTo(ar, 0); // Return the array of key-value pairs return ar; |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteDataReader.cs.
︙ | ︙ | |||
104 105 106 107 108 109 110 | _activeStatement = null; _fieldTypeArray = null; } /// <summary> /// Disposes the datareader. Calls Close() to ensure everything is cleaned up. /// </summary> | | | | 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 | _activeStatement = null; _fieldTypeArray = null; } /// <summary> /// Disposes the datareader. Calls Close() to ensure everything is cleaned up. /// </summary> protected override void Dispose(bool disposing) { Close(); base.Dispose(disposing); } /// <summary> /// Throw an error if the datareader is closed /// </summary> private void CheckClosed() { |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteParameter.cs.
︙ | ︙ | |||
290 291 292 293 294 295 296 | { return ParameterDirection.Input; } set { if (value != ParameterDirection.Input) throw new NotSupportedException(); | < < < < < < < < < < < < < < | 290 291 292 293 294 295 296 297 298 299 300 301 302 303 | { return ParameterDirection.Input; } set { if (value != ParameterDirection.Input) throw new NotSupportedException(); } } /// <summary> /// Returns the parameter name /// </summary> public override string ParameterName |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteParameterCollection.cs.
︙ | ︙ | |||
164 165 166 167 168 169 170 171 172 173 174 175 176 177 | /// </summary> /// <param name="value">The parameter to add</param> /// <returns>A zero-based index of where the parameter is located in the array</returns> public override int Add(object value) { return Add((SQLiteParameter)value); } /// <summary> /// Adds an array of parameters to the collection /// </summary> /// <param name="values">The array of parameters to add</param> public void AddRange(DbParameter[] values) { | > > > > > > > > > > > > > > | 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 | /// </summary> /// <param name="value">The parameter to add</param> /// <returns>A zero-based index of where the parameter is located in the array</returns> public override int Add(object value) { return Add((SQLiteParameter)value); } /// <summary> /// Adds a named/unnamed parameter and its value to the parameter collection. /// </summary> /// <param name="parameterName">Name of the parameter, or null to indicate an unnamed parameter</param> /// <param name="value">The initial value of the parameter</param> /// <returns>Returns the SQLiteParameter object created during the call.</returns> public SQLiteParameter AddWithValue(string parameterName, object value) { SQLiteParameter param = new SQLiteParameter(parameterName, value); Add(param); return param; } /// <summary> /// Adds an array of parameters to the collection /// </summary> /// <param name="values">The array of parameters to add</param> public void AddRange(DbParameter[] values) { |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteTransaction.cs.
︙ | ︙ | |||
74 75 76 77 78 79 80 | { get { return Connection; } } /// <summary> /// Disposes the transaction. If it is currently active, any changes are rolled back. /// </summary> | | | | 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 | { get { return Connection; } } /// <summary> /// Disposes the transaction. If it is currently active, any changes are rolled back. /// </summary> protected override void Dispose(bool disposing) { if (_cnn != null) Rollback(); _cnn = null; base.Dispose(disposing); } /// <summary> /// Gets the isolation level of the transaction. SQLite does not support isolation levels, so this always returns Unspecified. /// </summary> public override IsolationLevel IsolationLevel { |
︙ | ︙ |