This is a migrated thread and some comments may be shown as answers.

Serialize error for nullabel objects

1 Answer 55 Views
Data Access Free Edition
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Phani
Top achievements
Rank 1
Phani asked on 13 Feb 2013, 12:19 PM
HI ,
while referencing the wcf service the values with Null-able objects are not referencing in the wcf service .
please suggest ....
the wxf service method is having the telerik data objects and Entity Model.. its urgent .. please help..

1 Answer, 1 is accepted

Sort by
0
Viktor Zhivkov
Telerik team
answered on 15 Feb 2013, 01:51 PM
Hi Phani,

I am not sure if I understand your question correctly.
Do you refer to related entities of a particular entity as "...the values with Null-able objects are not referencing..."?
For example:
Order entity has a collection of OrderDetails entities and a reference to a Customer entity. Here order.OrderDetails and order.Customer are called navigation properties.

By default navigation properties are not loaded when using WCF Plain Services generated by Add OpenAccess wizard. 
If you want to enable loading of navigation properties you should follow the instructions in this tutorial.

Please let me know if I have misinterpreted your question or you need any further assistance.

All the best,
Viktor Zhivkov
the Telerik team
Q3'12 SP1 of OpenAccess ORM packs Multi-Table Entities mapping support. Check it out.
Tags
Data Access Free Edition
Asked by
Phani
Top achievements
Rank 1
Answers by
Viktor Zhivkov
Telerik team
Share this question
or