ADO.NET SQLite
作者:互联网
在.Net Framework项目中使用SQLite只需要安装System.Data.SQLite.Core包
Install-Package System.Data.SQLite.Core
简单使用:
new SQLiteConnection($"Data Source =ab.db; Initial Catalog = sqlite; Integrated Security = True;")
SQLiteCommand sqliteCommand = new SQLiteCommand(sqlstr, abdb);
在UWP项目中使用SQLite只需要安装Microsoft.Data.Sqlite.Core包
Install-Package Microsoft.Data.Sqlite.Core
简单使用:
new SqliteConnection($"Filename={abdbpath}");
SqliteCommand sqliteCommand = new SqliteCommand(sqlstr, abdb);
标签:Core,SQLite,SQLiteCommand,System,new,ADO,NET,Data 来源: https://www.cnblogs.com/xiagaolxy/p/16439529.html