c#使用 Newtonsoft.Json 将entity转json时,忽略为null的属性,直接在属性上加下面的特性
[JsonProperty(NullValueHandling=NullValueHandling.Ignore)]