System.Data.SQLite

Check-in [410f1fa7fc]
Login

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

Overview
Comment:Improve comments.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | customDataTypes
Files: files | file ages | folders
SHA1: 410f1fa7fce53497dbe51a57c61a5939acfd3b49
User & Date: mistachkin 2016-06-19 03:44:17.388
Context
2016-06-19
03:49
Refine the SQLiteTypeCallbacks class. check-in: dca07f2301 user: mistachkin tags: customDataTypes
03:44
Improve comments. check-in: 410f1fa7fc user: mistachkin tags: customDataTypes
03:40
Integrate the new custom database type callbacks into the statement class. Add TypeName property to the SQLiteParameter class and make use of it. Add UseParameterDbTypeForTypeName connection flag. Update version history docs. check-in: 5973dcfa17 user: mistachkin tags: customDataTypes
Changes
Unified Diff Ignore Whitespace Patch
Changes to System.Data.SQLite/SQLiteConnection.cs.
446
447
448
449
450
451
452
453


454
455
456
457
458
459
460
  /// <param name="index">
  /// The ordinal of the parameter being bound to the command.
  /// </param>
  /// <param name="userData">
  /// The data originally used when registering this callback.
  /// </param>
  /// <param name="complete">
  /// Non-zero if the default handling for the parameter binding call should be skipped.


  /// </param>
  public delegate void SQLiteBindValueCallback(
      SQLiteConvert convert,
      SQLiteCommand command,
      SQLiteConnectionFlags flags,
      SQLiteParameter parameter,
      int index,







|
>
>







446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
  /// <param name="index">
  /// The ordinal of the parameter being bound to the command.
  /// </param>
  /// <param name="userData">
  /// The data originally used when registering this callback.
  /// </param>
  /// <param name="complete">
  /// Non-zero if the default handling for the parameter binding call should be skipped
  /// (i.e. the parameter should not be bound at all).  Great care should be used when
  /// setting this to non-zero.
  /// </param>
  public delegate void SQLiteBindValueCallback(
      SQLiteConvert convert,
      SQLiteCommand command,
      SQLiteConnectionFlags flags,
      SQLiteParameter parameter,
      int index,
Changes to System.Data.SQLite/SQLiteStatement.cs.
284
285
286
287
288
289
290
291

292
293
294
295
296
297
298
    /// </param>
    /// <param name="parameter">
    /// The <see cref="SQLiteParameter" /> instance being bound to the
    /// command.
    /// </param>
    /// <param name="complete">
    /// Non-zero if the default handling for the parameter binding call
    /// should be skipped.

    /// </param>
    private void InvokeBindValueCallback(
        int index,
        SQLiteParameter parameter,
        out bool complete
        )
    {







|
>







284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
    /// </param>
    /// <param name="parameter">
    /// The <see cref="SQLiteParameter" /> instance being bound to the
    /// command.
    /// </param>
    /// <param name="complete">
    /// Non-zero if the default handling for the parameter binding call
    /// should be skipped (i.e. the parameter should not be bound at all).
    /// Great care should be used when setting this to non-zero.
    /// </param>
    private void InvokeBindValueCallback(
        int index,
        SQLiteParameter parameter,
        out bool complete
        )
    {