阅读背景:

如何在序列化json时忽略不包含属性的属性

来源:互联网 

I am using Entity Framework to generate my models. I want to communicate some of these models via JSON. The problem is that I do not want the stuff that EF tacks onto the model to be serialized (EntityKey, EntityState, and all the EntityCollection<> properties)I am using Entity Framework to generate my mode




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: