增加sqllite.dll,本机无需部署环境

This commit is contained in:
bnala committed 2025-02-13 14:46:04 +08:00
1 parent f9129f0bff
commit 4c4b6df9ba
3 files changed
+7 -2

No files matched your search

+2 -2
View File
@@ -13,8 +13,8 @@ namespace WindowsFormsApp1.db
public class SQLiteHelper<T> where T : new()
{
//private readonly string _databasePath = Path.Combine(Environment.CurrentDirectory, "db\\MES_PLC.db");
private readonly string _databasePath = "C:\\Users\\bnala\\source\\repos\\WindowsFormsApp1\\WindowsFormsApp1\\db\\MES_PLC.db";
private readonly string _databasePath = Path.Combine(Environment.CurrentDirectory, "db\\MES_PLC.db");
//private readonly string _databasePath = "C:\\Users\\bnala\\source\\repos\\WindowsFormsApp1\\WindowsFormsApp1\\db\\MES_PLC.db";
private readonly SQLiteConnection _connection; // SQLite连接对象
/// <summary>