Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | VersionInfo and documentation updates |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | sourceforge |
Files: | files | file ages | folders |
SHA1: |
fa8370b96eec510ff2c36864a6ebabf5 |
User & Date: | rmsimpson 2005-05-25 22:19:14.000 |
Context
2005-05-25
| ||
22:23 | no message check-in: f151bb6326 user: rmsimpson tags: sourceforge | |
22:19 | VersionInfo and documentation updates check-in: fa8370b96e user: rmsimpson tags: sourceforge | |
22:14 | Added version resource check-in: 4f39bba7c7 user: rmsimpson tags: sourceforge | |
Changes
Changes to System.Data.SQLite/AssemblyInfo.cs.
1 2 3 4 5 6 7 8 9 10 | using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("System.Data.SQLite")] [assembly: AssemblyDescription("ADO.NET 2.0 Data Provider for SQLite")] [assembly: AssemblyConfiguration("")] | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("System.Data.SQLite")] [assembly: AssemblyDescription("ADO.NET 2.0 Data Provider for SQLite")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("http://sourceforge.net/projects/sqlite-dotnet2")] [assembly: AssemblyProduct("System.Data.SQLite")] [assembly: AssemblyCopyright("Public Domain")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM componenets. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: [assembly: AssemblyVersion("1.0.9.*")] |
Changes to System.Data.SQLite/SQLiteCommand.cs.
︙ | ︙ | |||
317 318 319 320 321 322 323 | /// </summary> private void InitializeForReader() { if (_isReaderOpen) throw new InvalidOperationException("DataReader already active on this command"); if (_cnn == null) | | | 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 | /// </summary> private void InitializeForReader() { if (_isReaderOpen) throw new InvalidOperationException("DataReader already active on this command"); if (_cnn == null) throw new InvalidOperationException("No connection associated with this command"); if (_cnn.State != ConnectionState.Open) throw new InvalidOperationException("Database is not open"); int n; int x; |
︙ | ︙ | |||
350 351 352 353 354 355 356 | /// <returns>Returns a SQLiteDataReader object</returns> protected override DbDataReader ExecuteDbDataReader(CommandBehavior behavior) { InitializeForReader(); _cnn._sql.SetTimeout(_commandTimeout * 1000); | < < | < | | < < < < | 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 | /// <returns>Returns a SQLiteDataReader object</returns> protected override DbDataReader ExecuteDbDataReader(CommandBehavior behavior) { InitializeForReader(); _cnn._sql.SetTimeout(_commandTimeout * 1000); SQLiteDataReader rd = new SQLiteDataReader(this, behavior); _isReaderOpen = true; return rd; } /// <summary> /// Called by the SQLiteDataReader when the data reader is closed. /// </summary> internal void ClearDataReader() { |
︙ | ︙ |
Changes to System.Data.SQLite/SQLiteFunction.cs.
︙ | ︙ | |||
146 147 148 149 150 151 152 | return null; } /// <summary> /// Aggregate functions override this method to do their magic. /// </summary> /// <remarks> | < | | < < < < | 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | return null; } /// <summary> /// Aggregate functions override this method to do their magic. /// </summary> /// <remarks> /// Typically you'll be updating whatever you've placed in the contextData field and returning as quickly as possible. /// </remarks> /// <param name="args">The arguments for the command to process</param> /// <param name="nStep">The 1-based step number. This is incrememted each time the step method is called.</param> /// <param name="contextData">A placeholder for implementers to store contextual data pertaining to the current context.</param> public virtual void Step(object[] args, int nStep, ref object contextData) { } /// <summary> /// Aggregate functions override this method to finish their aggregate processing. /// </summary> /// <remarks> /// If you implemented your aggregate function properly, /// you've been recording and keeping track of your data in the contextData object provided, and now at this stage you should have /// all the information you need in there to figure out what to return. /// </remarks> /// <param name="contextData">Your own assigned contextData, provided for you so you can return your final results.</param> /// <returns>You may return most simple types as a return value, null or DBNull.Value to return null, DateTime, or /// you may return an Exception-derived class if you wish to return an error to SQLite. Do not actually throw the error, /// just return it! /// </returns> public virtual object Final(object contextData) |
︙ | ︙ |