System.Data.SQLite
Check-in [33bc5a13c8]
Not logged in

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

Overview
Comment:Use a filter to retrieve attributes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | sourceforge
Files: files | file ages | folders
SHA1: 33bc5a13c8c2ac8c7b6f2b2711aff348e5e25fd5
User & Date: rmsimpson 2005-12-19 20:46:11
Context
2005-12-19
20:46
Fix typo check-in: 3df863ce6e user: rmsimpson tags: sourceforge
20:46
Use a filter to retrieve attributes check-in: 33bc5a13c8 user: rmsimpson tags: sourceforge
20:45
Fix HasRows() bug check-in: 6751277128 user: rmsimpson tags: sourceforge
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

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

   420    420           }
   421    421   
   422    422           int v = arTypes.Length;
   423    423           for (int x = 0; x < v; x++)
   424    424           {
   425    425             if (arTypes[x] == null) continue;
   426    426   
   427         -          object[] arAtt = arTypes[x].GetCustomAttributes(false);
          427  +          object[] arAtt = arTypes[x].GetCustomAttributes(typeof(SQLiteFunctionAttribute), false);
   428    428             int u = arAtt.Length;
   429    429             for (int y = 0; y < u; y++)
   430    430             {
   431    431               at = arAtt[y] as SQLiteFunctionAttribute;
   432    432               if (at != null)
   433    433               {
   434    434                 at._instanceType = arTypes[x];