withRelationship
Method
interface ContainerResource { // ... omitted for brevity withRelationship( resourceBuilder: IResource, type: string): IResource;}Signature
method
withRelationship builder Adds a relationship to another resource
withRelationship( resourceBuilder: IResource, type: string): IResourceParameters
resourceBuilder IResource type string Returns
IResource Applies to
This method applies to the following types: