This commit is contained in:
sunkaixuan 2023-06-13 17:35:05 +08:00
parent 58d4bcb9ac
commit 3d92a6273e

View File

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