依赖
1.System.Data.SQLite
2.SqlKata
//https://www.nuget.org/profiles/SQLite
//http://system.data.sqlite.org/index.html/doc/trunk/www/index.wiki
//https://docs.microsoft.com/en-us/dotnet/api/microsoft.data.sqlite.sqliteconnection?view=msdata-sqlite-2.0.0
//public class SqliteConnection : System.Data.Common.DbConnection
//1.需要用nuget 安装 System.Data.SQLite(依赖EF)
using System.Data.SQLite;
//using System.Data.SQLite.SQLiteConnection;
//连接方式
//https://www.connectionstrings.com/sqlite/
//https://www.connectionstrings.com/sqlite-net-provider/
//Data Source=c:\mydb.db;Version=3;Password=myPassword;
//2.需要用nuget 安装 SqlKata(依赖Dapper)
using SqlKata;
using SqlKata.Execution;
//using System.Data.SqlClient; // Sql Server Connection Namespace
using SqlKata.Compilers;
using SqlKata.Extensions;
//https://blog.csdn.net/hunkcai/article/details/6890968