mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 01:58:13 +08:00
Support aot
This commit is contained in:
@@ -1862,7 +1862,7 @@ namespace SqlSugar
|
||||
{
|
||||
result = this.Context.Utilities.DataReaderToSelectArrayList<TResult>(dataReader);
|
||||
}
|
||||
else if (entityType.IsAnonymousType() || isComplexModel)
|
||||
else if (entityType.IsAnonymousType() || isComplexModel|| StaticConfig.EnableAot)
|
||||
{
|
||||
result = this.Context.Utilities.DataReaderToList<TResult>(dataReader);
|
||||
}
|
||||
|
Reference in New Issue
Block a user