Browse Source

Synchronization code

pull/40/head
sunkaixuan 1 year ago
parent
commit
7ff71a9aba
  1. 2
      Src/Asp.Net/SqlSugar/Infrastructure/ContextMethods.cs

2
Src/Asp.Net/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