System.Data.SQLite
Check-in [4be7ad3120]
Not logged in

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

Overview
Comment:Improve documentation for the 'restrictionValues' parameter to SQLiteConnetion.GetSchema.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 4be7ad3120577d3048d296532560a5a9a87a4689
User & Date: mistachkin 2015-05-16 03:33:03
Context
2015-05-19
18:24
Make sure enabling UseUTF16Encoding sets the schema encoding to UTF-16. Fix for [7c151a2f0e]. check-in: 749d5af8d3 user: mistachkin tags: trunk
2015-05-16
03:33
Improve documentation for the 'restrictionValues' parameter to SQLiteConnetion.GetSchema. check-in: 4be7ad3120 user: mistachkin tags: trunk
02:26
Stop using the specific version for the EF6 Nuget package. Fix for [abf2be8a23]. check-in: a58c97761a user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Show Whitespace Changes Patch

Changes to System.Data.SQLite/SQLiteConnection.cs.

  3656   3656         CheckDisposed();
  3657   3657         return GetSchema(collectionName, new string[0]);
  3658   3658       }
  3659   3659   
  3660   3660       /// <summary>
  3661   3661       /// Retrieves schema information using the specified constraint(s) for the specified collection
  3662   3662       /// </summary>
  3663         -    /// <param name="collectionName">The collection to retrieve</param>
  3664         -    /// <param name="restrictionValues">The restrictions to impose</param>
         3663  +    /// <param name="collectionName">The collection to retrieve.</param>
         3664  +    /// <param name="restrictionValues">
         3665  +    /// The restrictions to impose.  Typically, this may include:
         3666  +    /// <list type="table">
         3667  +    /// <listheader>
         3668  +    /// <term>restrictionValues element index</term>
         3669  +    /// <term>usage</term>
         3670  +    /// </listheader>
         3671  +    /// <item>
         3672  +    /// <description>0</description>
         3673  +    /// <description>The database (or catalog) name, if applicable.</description>
         3674  +    /// </item>
         3675  +    /// <item>
         3676  +    /// <description>1</description>
         3677  +    /// <description>The schema name.  This is not used by this provider.</description>
         3678  +    /// </item>
         3679  +    /// <item>
         3680  +    /// <description>2</description>
         3681  +    /// <description>The table name, if applicable.</description>
         3682  +    /// </item>
         3683  +    /// <item>
         3684  +    /// <description>3</description>
         3685  +    /// <description>
         3686  +    /// Depends on <paramref name="collectionName" />.
         3687  +    /// When "IndexColumns", it is the index name; otherwise, it is the column name.
         3688  +    /// </description>
         3689  +    /// </item>
         3690  +    /// <item>
         3691  +    /// <description>4</description>
         3692  +    /// <description>
         3693  +    /// Depends on <paramref name="collectionName" />.
         3694  +    /// When "IndexColumns", it is the column name; otherwise, it is not used.
         3695  +    /// </description>
         3696  +    /// </item>
         3697  +    /// </list>
         3698  +    /// </param>
  3665   3699       /// <returns>A DataTable of the specified collection</returns>
  3666   3700       public override DataTable GetSchema(string collectionName, string[] restrictionValues)
  3667   3701       {
  3668   3702         CheckDisposed();
  3669   3703   
  3670   3704         if (_connectionState != ConnectionState.Open)
  3671   3705           throw new InvalidOperationException();