Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

No commit message

  • Loading branch information...
commit c10667eb16066c6601d10a85df92b44fd7ea9c69 1 parent 6750872
@Ivony authored
View
5 Sources/Ivony.Data/AccessDbUtility.cs
@@ -8,11 +8,6 @@ namespace Ivony.Data
{
public class AccessDbUtility : DbUtility
{
- protected override IDataAdapter CreateDataAdapter( System.Data.IDbCommand selectCommand )
- {
- throw new NotImplementedException();
- }
-
protected override IDbExpressionParser GetExpressionParser()
{
throw new NotImplementedException();
View
6 Sources/Ivony.Data/Properties/AssemblyInfo.cs
@@ -31,6 +31,6 @@
//
// 可以指定所有这些值,也可以使用“内部版本号”和“修订号”的默认值,
// 方法是按如下所示使用“*”:
-// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion( "3.0.0.*" )]
-[assembly: AssemblyFileVersion( "3.0" )]
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion( "2.0.*" )]
+[assembly: AssemblyFileVersion( "2.0" )]
View
5 Sources/Ivony.Data/SqlDbUtility.cs
@@ -68,11 +68,6 @@ internal SqlCommand CreateCommand()
}
- protected override IDataAdapter CreateDataAdapter( IDbCommand selectCommand )
- {
- return new SqlDataAdapter( (SqlCommand) selectCommand );
- }
-
/// <summary>
/// 创建一个事务
/// </summary>
View
18 Sources/Ivony.Data/TemplateExtensions.cs
@@ -15,8 +15,8 @@ public static class TemplateExtensions
{
- /// <summary>
- /// 填充DataSet,并将填充的最后一个表返回
+ /// <summary>
+ /// 执行查询,并返回第一个结果集
/// </summary>
/// <param name="template">查询字符串模板</param>
/// <param name="parameters">查询字符串参数</param>
@@ -27,20 +27,6 @@ public static DataTable Data( this DbUtility dbUtility, string template, params
}
/// <summary>
- /// 填充DataSet,并将填充的最后一个表返回
- /// </summary>
- /// <param name="dataSet">需要被填充的数据集</param>
- /// <param name="tableName">将最后一个表设置为什么名字</param>
- /// <param name="commandText">查询字符串模板</param>
- /// <param name="parameters">查询字符串参数</param>
- /// <returns></returns>
- public static DataTable Data( this DbUtility dbUtility, DataSet dataSet, string tableName, string template, params object[] parameters )
- {
- return dbUtility.Data( dataSet, tableName, Template( template, parameters ) );
-
- }
-
- /// <summary>
/// 执行无结果的查询
/// </summary>
/// <param name="commandText">查询字符串模板</param>
Please sign in to comment.
Something went wrong with that request. Please try again.