|
|
@ -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, |
|
|
|