mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Support for multi-library entity AOP
This commit is contained in:
@@ -1269,6 +1269,7 @@ 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.QueryBuilder.LambdaExpressions.DbMehtods.GetTableWithDataBase
|
||||
(this.QueryBuilder.Builder.GetTranslationColumnName(dbName), this.QueryBuilder.Builder.GetTranslationColumnName(tableName));
|
||||
}
|
||||
|
Reference in New Issue
Block a user