Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Add 'userData' parameter to callbacks. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | customDataTypes |
Files: | files | file ages | folders |
SHA1: |
f9b89a33af20e6a5970c96b6163db664 |
User & Date: | mistachkin 2016-06-19 01:45:42.390 |
Context
2016-06-19
| ||
02:22 | Add classes to contain the per-connection type callbacks and mappings. check-in: 6a75a30b62 user: mistachkin tags: customDataTypes | |
01:45 | Add 'userData' parameter to callbacks. check-in: f9b89a33af user: mistachkin tags: customDataTypes | |
2016-06-18
| ||
22:59 | Initial draft of work on being able to customize the bound parameter and data reader value handling. check-in: 4508a3be9e user: mistachkin tags: customDataTypes | |
Changes
Changes to System.Data.SQLite/SQLiteConnection.cs.
︙ | ︙ | |||
442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 | /// </param> /// <param name="parameter"> /// The <see cref="SQLiteParameter" /> instance being bound to the command. /// </param> /// <param name="index"> /// The ordinal of the parameter being bound to the command. /// </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, out bool complete ); ///////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> /// This represents a method that will be called in response to a request to read a value | > > > > | 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 | /// </param> /// <param name="parameter"> /// The <see cref="SQLiteParameter" /> instance being bound to the command. /// </param> /// <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, object userData, out bool complete ); ///////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> /// This represents a method that will be called in response to a request to read a value |
︙ | ︙ | |||
475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 | /// </param> /// <param name="eventArgs"> /// The parameter and return type data for the column being read from the data reader. /// </param> /// <param name="index"> /// The zero based index of the column being read from the data reader. /// </param> /// <param name="complete"> /// Non-zero if the default handling for the data reader call should be skipped. If this /// is set to non-zero and the necessary return value is unavailable or unsuitable, an /// exception will be thrown. /// </param> public delegate void SQLiteReadValueCallback( SQLiteConvert convert, SQLiteDataReader dataReader, SQLiteConnectionFlags flags, SQLiteReadValueEventArgs eventArgs, int index, out bool complete ); ///////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> /// Event data for connection event handlers. | > > > > | 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 | /// </param> /// <param name="eventArgs"> /// The parameter and return type data for the column being read from the data reader. /// </param> /// <param name="index"> /// The zero based index of the column being read from the data reader. /// </param> /// <param name="userData"> /// The data originally used when registering this callback. /// </param> /// <param name="complete"> /// Non-zero if the default handling for the data reader call should be skipped. If this /// is set to non-zero and the necessary return value is unavailable or unsuitable, an /// exception will be thrown. /// </param> public delegate void SQLiteReadValueCallback( SQLiteConvert convert, SQLiteDataReader dataReader, SQLiteConnectionFlags flags, SQLiteReadValueEventArgs eventArgs, int index, object userData, out bool complete ); ///////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> /// Event data for connection event handlers. |
︙ | ︙ |