alielie
2025-03-18 a061384ba628a09bf4df91f50321ab22c03129aa
HMI.Core/Util/SqliteHelper.cs
@@ -1,15 +1,13 @@
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Data.Odbc;
using System.Data.SQLite;
namespace HMI.Core.Util
{
    public class SqliteHelper
    {
        private string DataBaseFile = string.Empty;
        public string DataBaseFile { get; private set; } = string.Empty;
        private string ConnectString = string.Empty;
@@ -188,7 +186,7 @@
            }
            catch (Exception ex)
            {
                throw new Exception("获取字段名称失败:" + ex.Message);
                throw new Exception("获取表字段名称失败:" + ex.Message);
            }
        }
@@ -210,7 +208,7 @@
            }
            catch (Exception ex)
            {
                throw new Exception("获取字段名称失败:" + ex.Message);
                throw new Exception("获取表名失败:" + ex.Message);
            }
        }