QueryDataEntity SetQueryDataEntityRelationship Method

Set a relationship for any Parent or Child QueryDataEntity using the unique 'Name' field to match on.

Namespace:  Scribe.Core.ConnectorApi.Query

Assembly:  Scribe.Core.ConnectorApi (in Scribe.Core.ConnectorApi.dll)

Syntax

public   bool   SetQueryDataEntityRelationship(
	string   name,
	Relationship   relationship
)

Parameters

name

Type: System String

Unique name the identifies the relationship

relationship

Type: Scribe.Core.ConnectorApi.Query Relationship

Relationship to be added

Return Value

Type: Boolean

Returns false if the specified entity was not found

See

QueryDataEntity Class

Scribe.Core.ConnectorApi.Query Namespace