Serialize error for nullabel objects

2 posts, 0 answers
  1. Phani
    Phani avatar
    1 posts
    Member since:
    Feb 2013

    Posted 13 Feb 2013 Link to this post

    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..
  2. Viktor Zhivkov
    Viktor Zhivkov avatar
    290 posts

    Posted 15 Feb 2013 Link to this post

    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.
  3. DevCraft banner
Back to Top