mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-27 05:48:32 +08:00
-
This commit is contained in:
@@ -264,7 +264,7 @@ namespace SqlSugar
|
||||
}
|
||||
var oldDatabaseName = this.Context.Ado.Connection.Database;
|
||||
var connection = this.Context.CurrentConnectionConfig.ConnectionString;
|
||||
connection = connection.Replace(oldDatabaseName, "sys");
|
||||
connection = connection.Replace(oldDatabaseName, "mysql");
|
||||
var newDb = new SqlSugarClient(new ConnectionConfig()
|
||||
{
|
||||
DbType = this.Context.CurrentConnectionConfig.DbType,
|
||||
|
||||
Reference in New Issue
Block a user