Synchronization code

This commit is contained in:
sunkaixuan 2023-11-20 06:00:23 +08:00
parent 508d2f9552
commit 7c3ebaa103

View File

@ -439,7 +439,7 @@ namespace SqlSugar
private Dictionary<string, object> DataReaderToList<T>(IDataReader reader, Type tType, List<PropertyInfo> classProperties, List<T> reval)
{
var readerValues = DataReaderToDictionary(reader, tType);
var mappingKeys = this.QueryBuilder.MappingKeys;
var mappingKeys = this.QueryBuilder?.MappingKeys;
var result = new Dictionary<string, object>();
foreach (var item in classProperties)
{