diff --git a/Apewer/Source/SourceUtility.cs b/Apewer/Source/SourceUtility.cs
index d5a7834..fb6adf1 100644
--- a/Apewer/Source/SourceUtility.cs
+++ b/Apewer/Source/SourceUtility.cs
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Data;
using System.Reflection;
+using System.Runtime.InteropServices.ComTypes;
using System.Text;
namespace Apewer.Source
@@ -598,7 +599,6 @@ namespace Apewer.Source
}
}
-
/// 查询。
/// 数据库连接。
/// SQL 语句。
@@ -629,6 +629,353 @@ namespace Apewer.Source
}
}
+#if !NET20
+
+ /// 执行查询,将结果输出为元组数组。
+ /// 元组中的值类型。
+ /// 数据库连接。
+ /// SQL 语句。
+ /// SQL 参数。
+ /// 获取第一个值的回调函数。
+ /// 由元组组成的数组。
+ ///
+ ///
+ public static Tuple[] Query(this IDbAdo dbClient, string sql, object parameters, Func