| | |
| | | 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; |
| | | |
| | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | throw new Exception("获取字段名称失败:" + ex.Message); |
| | | throw new Exception("获取表字段名称失败:" + ex.Message); |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | throw new Exception("获取字段名称失败:" + ex.Message); |
| | | throw new Exception("获取表名失败:" + ex.Message); |
| | | } |
| | | } |
| | | |