我知道我可以设置EmitDefaultValue = false,并将值设置为null.
但我也不想改变数据库的值,有没有其他方法可以实现这一点?
序列化程序是DataContractSerializer.