mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 13:34:32 +08:00
Synchronization code
This commit is contained in:
parent
6781c9b2c5
commit
2f3ebd74e8
@ -68,8 +68,7 @@ namespace SqlSugar
|
||||
{
|
||||
var mappingKeys = GetMappingColumns(parameter.CurrentExpression);
|
||||
var isSameType = mappingKeys.Keys.Count > 0;
|
||||
CallContextThread<Dictionary<string, string>>.SetData("Exp_Select_Mapping_Key", mappingKeys);
|
||||
CallContextAsync<Dictionary<string, string>>.SetData("Exp_Select_Mapping_Key", mappingKeys);
|
||||
this.Context.SugarContext.QueryBuilder.MappingKeys = mappingKeys;
|
||||
this.Expression = item;
|
||||
if (this.Context.IsJoin && (item is MemberInitExpression || item is NewExpression))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user