withRelationship
Method
interface ContainerResource { // ... 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
IResourceApplies to
This method applies to the following types: