Class NSRelationDefinitionEntity

A relation definition entity with source and destination tables.

Constructors

NSRelationDefinitionEntity()

Initializes a new instance of the NSRelationDefinitionEntity class.

Declaration

NSRelationDefinitionEntity

Methods

GetDeleted()

Declaration

Bool GetDeleted()

Examples

NSRelationDefinitionEntity thing;
Bool deleted = thing.GetDeleted();

Returns

Type Description
Bool True if deleted.

GetDestination()

Declaration

Integer GetDestination()

Examples

NSRelationDefinitionEntity thing;
Integer destination = thing.GetDestination();

Returns

Type Description
Integer The destination of the relation. See <xref href="CRMScript.NetServer.RelationTarget" data-throw-if-not-resolved="false"></xref>.

GetName()

Declaration

String GetName()

Examples

NSRelationDefinitionEntity thing;
String name = thing.GetName();

Returns

Type Description
String Active text.

GetPassiveText()

Declaration

String GetPassiveText()

Examples

NSRelationDefinitionEntity thing;
String passiveText = thing.GetPassiveText();

Returns

Type Description
String Text used in passive direction.

GetRank()

Declaration

Integer GetRank()

Examples

NSRelationDefinitionEntity thing;
Integer rank = thing.GetRank();

Returns

Type Description
Integer Rank order.

GetReldefId()

Declaration

Integer GetReldefId()

Examples

NSRelationDefinitionEntity thing;
Integer reldefId = thing.GetReldefId();

Returns

Type Description
Integer primary key.

GetSource()

Declaration

Integer GetSource()

Examples

NSRelationDefinitionEntity thing;
Integer source = thing.GetSource();

Returns

Type Description
Integer The source of the relation. See <xref href="CRMScript.NetServer.RelationTarget" data-throw-if-not-resolved="false"></xref>.

GetTooltip()

Declaration

String GetTooltip()

Examples

NSRelationDefinitionEntity thing;
String tooltip = thing.GetTooltip();

Returns

Type Description
String Tooltip or other description.

SetDeleted(Bool)

Declaration

Void SetDeleted(Bool deleted)

Examples

NSRelationDefinitionEntity thing;
Bool deleted;
thing.SetDeleted(deleted);

Parameters

Type Name Description
Bool deleted True if deleted.

Returns

Type Description
Void

SetDestination(Integer)

Declaration

Void SetDestination(Integer destination)

Examples

NSRelationDefinitionEntity thing;
Integer destination;
thing.SetDestination(destination);

Parameters

Type Name Description
Integer destination The destination of the relation. See <xref href="CRMScript.NetServer.RelationTarget" data-throw-if-not-resolved="false"></xref>.

Returns

Type Description
Void

SetName(String)

Declaration

Void SetName(String name)

Examples

NSRelationDefinitionEntity thing;
String name;
thing.SetName(name);

Parameters

Type Name Description
String name Active text.

Returns

Type Description
Void

SetPassiveText(String)

Declaration

Void SetPassiveText(String passiveText)

Examples

NSRelationDefinitionEntity thing;
String passiveText;
thing.SetPassiveText(passiveText);

Parameters

Type Name Description
String passiveText Text used in passive direction.

Returns

Type Description
Void

SetRank(Integer)

Declaration

Void SetRank(Integer rank)

Examples

NSRelationDefinitionEntity thing;
Integer rank;
thing.SetRank(rank);

Parameters

Type Name Description
Integer rank Rank order.

Returns

Type Description
Void

SetReldefId(Integer)

Declaration

Void SetReldefId(Integer reldefId)

Examples

NSRelationDefinitionEntity thing;
Integer reldefId;
thing.SetReldefId(reldefId);

Parameters

Type Name Description
Integer reldefId Primary key.

Returns

Type Description
Void

SetSource(Integer)

Declaration

Void SetSource(Integer source)

Examples

NSRelationDefinitionEntity thing;
Integer source;
thing.SetSource(source);

Parameters

Type Name Description
Integer source The source of the relation. See <xref href="CRMScript.NetServer.RelationTarget" data-throw-if-not-resolved="false"></xref>.

Returns

Type Description
Void

SetTooltip(String)

Declaration

Void SetTooltip(String tooltip)

Examples

NSRelationDefinitionEntity thing;
String tooltip;
thing.SetTooltip(tooltip);

Parameters

Type Name Description
String tooltip Tooltip or other description.

Returns

Type Description
Void