Browse Source

-

pull/12/MERGE
sunkaixuan 7 years ago
parent
commit
e4409dfc66
  1. 4
      Src/Asp.Net/SqlSugar/Realization/Sqlite/SqliteProvider.cs

4
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;

Loading…
Cancel
Save