I have an instance of an EF entity that im serializing to JSON. Is there any way to add some properties to it, without using a POCO class? Maybe create a new object and attach it, if thats possible?
HttpContext.Current.Response.Write(serializer.Serialize(system.OrderByDescending(s => s.SYSTEM_ID)));
I don’t know where your code gets executed, but using
HttpContextResponse.Writedirectly is a bit of a smell.