Browse Source

DB接口定义完善

yuzhengyang 3 years ago
parent
commit
365975d5a8
1 changed files with 7 additions and 1 deletions
  1. 7 1
      Azylee.Utils/Azylee.Core/DbUtils/DbInterface/IDatabaseHelper.cs

+ 7 - 1
Azylee.Utils/Azylee.Core/DbUtils/DbInterface/IDatabaseHelper.cs

@@ -39,7 +39,7 @@ namespace Azylee.Core.DbUtils.DbInterface
         /// <param name="sql"></param>
         /// <returns></returns>
         DataTable SelectWithException(string sql);
-        
+
         /// <summary>
         /// 查询所有数据库名称
         /// </summary>
@@ -47,6 +47,12 @@ namespace Azylee.Core.DbUtils.DbInterface
         DataTable SchemaList();
 
         /// <summary>
+        /// 查询表字段信息列表
+        /// </summary>
+        /// <returns></returns>
+        DataTable ColumnList(string database, string schema,string table);
+
+        /// <summary>
         /// 执行文件
         /// </summary>
         /// <param name="SqlFile">执行文件路径</param>