mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 10:45:08 +08:00
-
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user