Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actions to return entity with expanded navigation links #16

Closed
avestnik opened this issue Nov 10, 2014 · 1 comment
Closed

actions to return entity with expanded navigation links #16

avestnik opened this issue Nov 10, 2014 · 1 comment
Assignees

Comments

@avestnik
Copy link

please consider the following scenarion

public class Parent
{
    int TotalKPI;
    ICollection<Child> Children;
}

public class Child
{
    int KPI;
}

action does some complex business processing (which is not possible to do on client) that results in creating or updating parent and related children. how to return created/updated parent with all related chidren? now I can either return parent with empty .Children or collection of children

@xuubin xuubin self-assigned this Dec 2, 2014
@xuubin
Copy link

xuubin commented Dec 9, 2014

You can use ODataMessageWriter to write the expand entry. What block you from doing this?
Can you provide more detail information here?

@xuubin xuubin closed this as completed Dec 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants