Update DynamicCore

This commit is contained in:
sunkaixuan 2025-04-03 17:17:37 +08:00
parent a7936acbe1
commit 153244bbfd

View File

@ -1463,7 +1463,7 @@ namespace SqlSugar
{ {
SetAppendNavColumns(selectObj.Exp); SetAppendNavColumns(selectObj.Exp);
} }
var exp = DynamicCoreHelper.GetMember(typeof(T), selectObj.ResultNewType, expShortName, selectObj.formattableString); var exp = selectObj.Exp;
var method = GetType().GetMethod("_Select", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance) var method = GetType().GetMethod("_Select", System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance)
.MakeGenericMethod(selectObj.ResultNewType); .MakeGenericMethod(selectObj.ResultNewType);
dynamicCoreSelectModel.Value= method.Invoke(this, new object[] { exp }); dynamicCoreSelectModel.Value= method.Invoke(this, new object[] { exp });