增加sqllite.dll,本机无需部署环境
This commit is contained in:
1 parent
f9129f0bff
commit
4c4b6df9ba
3 files changed
+7
-2
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user