Closed dhirajdhakal09 closed 8 years ago
When including relationships, there are three options:
included
hash according to the spec.In your case, you need to set the value of a Plan
property on Number
.
Hi,
I have already set the value of plan property on number, I showed in the example too, doing like as follows:
var myNumber = new Number { Id = new Guid(), Number = "12345", Plan = new Plan { Id = new Guid(), Description = "Some Description" } };
But still attribute of Plan resource not seen in the Number resource.
Moreover, I tried to use the same resource provided in the wiki, even on doing that I cannot see attribute in relationship.
I am using Visual Studio 13 Community Edition.
Thanks!!
On Sat, Jun 4, 2016 at 1:30 AM, Jouke van der Maas notifications@github.com wrote:
When including relationships, there are three options:
The property does not exist Saule will generate a link according to the spec. The property exists, but it is null Saule will generate a link. The property exists and is not null Saule will add the resource to the included hash according to the spec.
In your case, you need to set the value of a Plan property on Number.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
Can you please share me the simple working example?