Update Aot

This commit is contained in:
sunkaixuan
2023-11-20 06:31:06 +08:00
parent 78bf79dde0
commit 57be24faed
2 changed files with 6 additions and 2 deletions

View File

@@ -464,6 +464,10 @@ namespace SqlSugar
{
result.Add(name, (byte[])readerValues[item.Name.ToLower()]);
}
else if (StaticConfig.EnableAot&& tType == typeof(DbColumnInfo) && item.PropertyType == typeof(object))
{
//No add
}
else if (item.PropertyType == typeof(object))
{
result.Add(name, readerValues[item.Name.ToLower()]);
@@ -472,7 +476,7 @@ namespace SqlSugar
{
result.Add(name, DeserializeObject<string[]>(readerValues.First(y => y.Key.EqualCase(item.Name)).Value + ""));
}
else if (StaticConfig.EnableAot && item.PropertyType == typeof(Type))
else if (StaticConfig.EnableAot && item.PropertyType == typeof(Type))
{
//No Add
}

View File

@@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCore</id>
<version>5.1.4.118</version>
<version>5.1.4.121-preview01</version>
<authors>sunkaixuan</authors>
<owners>果糖大数据科技</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>