System.Data.SQLite

Login
This project makes use of Eagle, provided by Mistachkin Systems.
Eagle: Secure Software Automation
Ticket Hash: 95a7f74fda7b2a154f149f47c83e094a031e0494
Title: Ambiguity in docs
Status: Closed Type: Documentation
Severity: Important Priority: Medium
Subsystem: Data_Reader Resolution: Works_As_Designed
Last Modified: 2016-10-03 17:55:38
Version Found In: 1.0.102.0
User Comments:
anonymous added on 2016-10-03 02:43:06:
In SQLiteCommand.cs, the overload:

    /// <summary>
    /// Execute the command and return the number of rows inserted/updated affected by it.
    /// </summary>
    /// <param name="behavior">The flags to be associated with the reader.</param>
    /// <returns>The number of rows inserted/updated affected by it.</returns>
    public int ExecuteNonQuery(
        CommandBehavior behavior
        )


should reflect in the comments the fact that a single row is returned.

Suggest:

    /// <summary>
    /// Execute the command and return the number of rows inserted/updated affected by it.
    /// </summary>
    /// <param name="behavior">The flags to be associated with the reader.</param>
    /// <returns>The number of rows inserted/updated affected by it.</returns>
***
    /// <remarks>This method returns a single row only, in conjunction with any
    /// other behaviors defined in <paramref name="behavior"/>.
    /// </remarks>
***
    public int ExecuteNonQuery(
        CommandBehavior behavior

mistachkin added on 2016-10-03 03:06:07: (text/x-fossil-plain)
Technically, ExecuteNonQuery does not return any rows of data.  How are you able
to make it operate contrary to that?