John Baird
Coatesville, Pennsylvania, United States
>>I have the following classes as models:
>>
>>attachment 1 is the profile class. 2 is the Measrements class and 3 is the web api.
>>
>>The return profile object contains a measurement list with 4 objects. When I execute the call to the rest api:
>>
>>localhost/30504/api/Setting/1, I get the following error in attachment 4:
>>
>>When I remove the list object from profile, it works just fine. How do I get this to serialize/deserialize correctly?
>>Thanks in advance for you help... I'm new at this..
>
>BTW, the error seems to say just that as well if you read it attentively.
I removed the reference to ProfileSettings from measurement and now it works fine. However, that raises another question. How can I know set the FK releationship between the 2 files, if I can't specify the relationsship?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only