mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 移除 Lazy 延时加载动态代码中的 Newtonsoft.Json 依赖;
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user