mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-09 02:44:58 +08:00
-
This commit is contained in:
@@ -1012,9 +1012,9 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
if (typeof(TResult) == typeof(ExpandoObject))
|
if (typeof(TResult) == typeof(ExpandoObject))
|
||||||
{
|
{
|
||||||
return this.Context.Utilities.DataReaderToExpandoObjectList(dataReader) as List<TResult>;
|
result= this.Context.Utilities.DataReaderToExpandoObjectList(dataReader) as List<TResult>;
|
||||||
}
|
|
||||||
if (entityType.IsAnonymousType() || isComplexModel)
|
}else if (entityType.IsAnonymousType() || isComplexModel)
|
||||||
{
|
{
|
||||||
result = this.Context.Utilities.DataReaderToDynamicList<TResult>(dataReader);
|
result = this.Context.Utilities.DataReaderToDynamicList<TResult>(dataReader);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user