So, I have an Event class that is generated from the Enitity Framework, I extended what it generated in partial, for example:
public partial class Event { [DataMemberAttribute()] public EventDate CurrentEventDate { get; set; } }
When I use the ON THE SERVER custom property, this is good, for example:
[WebGet] public IQueryable<Event> EventsOn(string date) { var to Return =
But when I try to look at this object in Javascript, it tells me that:
Error: "CurrentEventDate" is null or not an object
How can I get custom properties after they have been sent by cable?
Tarks source share