System.Data.SQLite

Check-in [283d973957]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Improve doc comments.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | blobIo
Files: files | file ages | folders
SHA1: 283d973957e48233ffaba8e92f45232cb9ff7847
User & Date: mistachkin 2016-07-01 20:43:11.644
Context
2016-07-01
21:05
Add experimental support for incremental blob I/O. check-in: 717bc31b47 user: mistachkin tags: trunk
20:43
Improve doc comments. Closed-Leaf check-in: 283d973957 user: mistachkin tags: blobIo
20:40
Bump version to 1.0.103.0. Update version history docs. check-in: 328757b2bf user: mistachkin tags: blobIo
Changes
Unified Diff Ignore Whitespace Patch
Changes to System.Data.SQLite/SQLiteDataReader.cs.
494
495
496
497
498
499
500
501


502
503
504
505
506
507
508
            _flags |= SQLiteConnectionFlags.UseConnectionReadValueCallbacks;
        }
    }

    /// <summary>
    /// Attempts to query the integer identifier for the current row.  This
    /// will not work for tables that were created WITHOUT ROWID -OR- if the
    /// query does not include the "rowid" column or one of its aliases.


    /// </summary>
    /// <returns>
    /// The integer identifier for the current row -OR- null if it could not
    /// be determined.
    /// </returns>
    internal long? GetRowId(int i)
    {







|
>
>







494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
            _flags |= SQLiteConnectionFlags.UseConnectionReadValueCallbacks;
        }
    }

    /// <summary>
    /// Attempts to query the integer identifier for the current row.  This
    /// will not work for tables that were created WITHOUT ROWID -OR- if the
    /// query does not include the "rowid" column or one of its aliases -OR-
    /// if the <see cref="SQLiteDataReader" /> was not created with the
    /// <see cref="CommandBehavior.KeyInfo"/> flag.
    /// </summary>
    /// <returns>
    /// The integer identifier for the current row -OR- null if it could not
    /// be determined.
    /// </returns>
    internal long? GetRowId(int i)
    {
521
522
523
524
525
526
527
528

529
530
531
532
533
534
535
        return GetInt64(iRowId);
    }

    /// <summary>
    /// Retrieves the column as a <see cref="SQLiteBlob" /> object.
    /// This will not work for tables that were created WITHOUT ROWID
    /// -OR- if the query does not include the "rowid" column or one
    /// of its aliases.

    /// </summary>
    /// <param name="i">The index of the column.</param>
    /// <param name="readOnly">
    /// Non-zero to open the blob object for read-only access.
    /// </param>
    /// <returns>A new <see cref="SQLiteBlob" /> object.</returns>
    public SQLiteBlob GetBlob(int i, bool readOnly)







|
>







523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
        return GetInt64(iRowId);
    }

    /// <summary>
    /// Retrieves the column as a <see cref="SQLiteBlob" /> object.
    /// This will not work for tables that were created WITHOUT ROWID
    /// -OR- if the query does not include the "rowid" column or one
    /// of its aliases -OR- if the <see cref="SQLiteDataReader" /> was
    /// not created with the <see cref="CommandBehavior.KeyInfo"/> flag.
    /// </summary>
    /// <param name="i">The index of the column.</param>
    /// <param name="readOnly">
    /// Non-zero to open the blob object for read-only access.
    /// </param>
    /// <returns>A new <see cref="SQLiteBlob" /> object.</returns>
    public SQLiteBlob GetBlob(int i, bool readOnly)