From e4409dfc663066195b2dd07ec4d833cce75e0e2b Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Sun, 9 Jul 2017 14:36:39 +0800 Subject: [PATCH] - --- Src/Asp.Net/SqlSugar/Realization/Sqlite/SqliteProvider.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Src/Asp.Net/SqlSugar/Realization/Sqlite/SqliteProvider.cs b/Src/Asp.Net/SqlSugar/Realization/Sqlite/SqliteProvider.cs index 22c3de683..78a991638 100644 --- a/Src/Asp.Net/SqlSugar/Realization/Sqlite/SqliteProvider.cs +++ b/Src/Asp.Net/SqlSugar/Realization/Sqlite/SqliteProvider.cs @@ -18,10 +18,6 @@ namespace SqlSugar if (base._DbConnection == null) { var SQLiteConnectionString = base.Context.CurrentConnectionConfig.ConnectionString; - if (!SQLiteConnectionString.ToLower().Contains("charset")) - { - SQLiteConnectionString=SQLiteConnectionString.Trim().TrimEnd(';') + ";charset=utf8;"; - } base._DbConnection = new SQLiteConnection(SQLiteConnectionString); } return base._DbConnection;