IResource.withRelationship
Method
interface IResource { // ... omitted for brevity withRelationship( resourceBuilder: IResource, type: string): IResource;}Signature
method
withRelationshipbuilderAdds a relationship to another resource using its builder.
withRelationship( resourceBuilder: IResource, type: string): IResourceParameters
resourceBuilderIResourcetypestringReturns
IResourceDefined on
This method is defined on the following type: