- 移除 Lazy 延时加载动态代码中的 Newtonsoft.Json 依赖;

This commit is contained in:
28810
2019-12-03 13:36:12 +08:00
parent ecfac8843e
commit e107b6bbd9
3 changed files with 249 additions and 220 deletions

View File

@ -16,6 +16,7 @@ using Zeus.Domain.Enum;
using System.ComponentModel.DataAnnotations;
using System.Reflection;
using System.Threading;
using Newtonsoft.Json;
namespace FreeSql.Tests
{
@ -42,6 +43,8 @@ namespace FreeSql.Tests
public string OrderTitle { get; set; }
public string CustomerName { get; set; }
public DateTime TransactionDate { get; set; }
[JsonIgnore]
public virtual List<OrderDetail> OrderDetails { get; set; }
}
public class OrderDetail