mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-05 17:37:58 +08:00
Synchronization code
This commit is contained in:
parent
32c59f748d
commit
bcd8c78533
@ -1269,7 +1269,8 @@ namespace SqlSugar
|
||||
if (attr != null && configId != attr.configId.ObjToString())
|
||||
{
|
||||
var dbName = this.Context.Root.GetConnection(attr.configId).Ado.Connection.Database;
|
||||
dbName = this.Context.Root.GetConnection(attr.configId).EntityMaintenance.GetEntityInfo(entity.Type).DbTableName;
|
||||
tableName = this.Context.Root.GetConnection(attr.configId).EntityMaintenance.GetEntityInfo(entity.Type).DbTableName;
|
||||
oldTableName = tableName;
|
||||
tableName = this.QueryBuilder.LambdaExpressions.DbMehtods.GetTableWithDataBase
|
||||
(this.QueryBuilder.Builder.GetTranslationColumnName(dbName), this.QueryBuilder.Builder.GetTranslationColumnName(tableName));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user