Browse Source

Update Queryable<(type name,type name2)>

pull/40/head
sunkaixuan 1 year ago
parent
commit
6f56115a8f
  1. 2
      Src/Asp.NetCore2/SqlSugar/Infrastructure/ContextMethods.cs

2
Src/Asp.NetCore2/SqlSugar/Infrastructure/ContextMethods.cs

@ -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

Loading…
Cancel
Save