mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 增加 .Net Framework 4.0 的支持,出于环境考虑 .Net Framework 4.0 不支持异步方法;
- 增加 IFreeSql.Insert<T>(IEnumerable<T1> source) 方法;
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
|
||||
<TargetFrameworks>netstandard2.0;net45;net40</TargetFrameworks>
|
||||
<Version>0.10.14</Version>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<Authors>YeXiangQin</Authors>
|
||||
|
@ -37,7 +37,7 @@ namespace FreeSql.Extensions
|
||||
|
||||
that.Aop.ConfigEntityProperty += new EventHandler<Aop.ConfigEntityPropertyEventArgs>((s, e) =>
|
||||
{
|
||||
if (e.Property.GetCustomAttribute<JsonMapAttribute>(false) != null)
|
||||
if (e.Property.GetCustomAttributes(typeof(JsonMapAttribute), false).Any())
|
||||
{
|
||||
e.ModifyResult.MapType = typeof(string);
|
||||
if (_dicTypes.TryAdd(e.Property.PropertyType, true))
|
||||
|
Reference in New Issue
Block a user