Update Queryable<(type name,type name2)>

This commit is contained in:
sunkaixuan
2023-07-04 15:16:13 +08:00
parent 14a86dcf62
commit 6f56115a8f

View File

@@ -45,7 +45,7 @@ namespace SqlSugar
var propertyType = propertyTypes[i];
var propertyInfo = tupleType.GetFields()[i];
propertyInfo.SetValue(tupleInstance, UtilMethods.ChangeType2(propertyValue, propertyType));
propertyInfo.SetValue(tupleInstance, UtilMethods.ChangeType2(propertyValue, propertyInfo.FieldType));
}
// Add the tuple instance to the result list