Click here to Skip to main content
15,907,906 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I have two table
Documents & Pages
with foreign key relationship

when i am using query in my WEB API

../odata/Documents?$expand=Pages

in odata Results its returning---> [Docid=1,Name="My Doc",...,Pages=null]

Why it's returning null value instead of expanding Page properties?
Posted
Comments
Afzaal Ahmad Zeeshan 7-Aug-15 4:37am    
Would you like to explain it more? As it stands it is impossible to know what and how it is not working.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900