System.Data.SQLite
Check-in [73d28a2e59]
Not logged in

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

Overview
Comment:Further improvements to comments.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | delegateFunction
Files: files | file ages | folders
SHA1: 73d28a2e59ffa5be5dbabe9cb1fe64946574e5d9
User & Date: mistachkin 2015-08-17 19:27:41
Context
2015-08-17
19:30
Add support for creating custom SQL functions using delegates. check-in: 4c4566e720 user: mistachkin tags: trunk
19:27
Further improvements to comments. Closed-Leaf check-in: 73d28a2e59 user: mistachkin tags: delegateFunction
19:08
Fix typo in the SQLiteFunction.RegisterFunction method overload that accepts a Type object. check-in: d0a9c28bd5 user: mistachkin tags: delegateFunction
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

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

  1421   1421       /// </summary>
  1422   1422       /// <param name="functionAttribute">
  1423   1423       /// The <see cref="SQLiteFunctionAttribute" /> object instance containing
  1424   1424       /// the metadata for the function to be bound.
  1425   1425       /// </param>
  1426   1426       /// <param name="callback1">
  1427   1427       /// A <see cref="Delegate" /> object instance that helps implement the
  1428         -    /// function to be bound.  For aggregate functions, this corresponds to the
  1429         -    /// <see cref="SQLiteStepDelegate" /> callback.
         1428  +    /// function to be bound.  For scalar functions, this corresponds to the
         1429  +    /// <see cref="SQLiteInvokeDelegate" /> type.  For aggregate functions,
         1430  +    /// this corresponds to the <see cref="SQLiteStepDelegate" /> type.  For
         1431  +    /// collation functions, this corresponds to the
         1432  +    /// <see cref="SQLiteCompareDelegate" /> type.
  1430   1433       /// </param>
  1431   1434       /// <param name="callback2">
  1432   1435       /// A <see cref="Delegate" /> object instance that helps implement the
  1433   1436       /// function to be bound.  For aggregate functions, this corresponds to the
  1434         -    /// <see cref="SQLiteFinalDelegate" /> callback.  For other callback types,
  1435         -    /// it is not used and must be null.
         1437  +    /// <see cref="SQLiteFinalDelegate" /> type.  For other callback types, it
         1438  +    /// is not used and must be null.
  1436   1439       /// </param>
  1437   1440       public void BindFunction(
  1438   1441           SQLiteFunctionAttribute functionAttribute,
  1439   1442           Delegate callback1,
  1440   1443           Delegate callback2
  1441   1444           )
  1442   1445       {