Class NSLink
Links two entities (contacts/projects/sales/URLs) together.
Syntax
Constructors
NSLink()
Initializes a new instance of the NSLink class.
Declaration
NSLink
Methods
GetDescription()
Links two entities (contacts/projects/sales/URLs) together.
Declaration
String GetDescription()
Returns
Type | Description |
---|---|
String | Link description. |
Examples
NSLink thing;
String description = thing.GetDescription();
GetEntityName()
Links two entities (contacts/projects/sales/URLs) together.
Declaration
String GetEntityName()
Returns
Type | Description |
---|---|
String | Name of the entity the link points to (The destination/target entity). |
Examples
NSLink thing;
String entityName = thing.GetEntityName();
GetExtraInfo()
Links two entities (contacts/projects/sales/URLs) together.
Declaration
String GetExtraInfo()
Returns
Type | Description |
---|---|
String | Extrainfo for link. Use for information that does not have a primary key. |
Examples
NSLink thing;
String extraInfo = thing.GetExtraInfo();
GetId()
Links two entities (contacts/projects/sales/URLs) together.
Declaration
Integer GetId()
Returns
Type | Description |
---|---|
Integer | ID of the entity the link points to (The destination/target entity primary key). |
Examples
NSLink thing;
Integer id = thing.GetId();
GetLinkId()
Links two entities (contacts/projects/sales/URLs) together.
Declaration
Integer GetLinkId()
Returns
Type | Description |
---|---|
Integer | Primary key. |
Examples
NSLink thing;
Integer linkId = thing.GetLinkId();
SetDescription(String)
Links two entities (contacts/projects/sales/URLs) together.
Declaration
Void SetDescription(String description)
Parameters
Type | Name | Description |
---|---|---|
String | description | Link description. |
Returns
Type | Description |
---|---|
Void |
Examples
NSLink thing;
String description;
thing.SetDescription(description);
SetEntityName(String)
Links two entities (contacts/projects/sales/URLs) together.
Declaration
Void SetEntityName(String entityName)
Parameters
Type | Name | Description |
---|---|---|
String | entityName | Name of the entity the link points to (The destination/target entity). |
Returns
Type | Description |
---|---|
Void |
Examples
NSLink thing;
String entityName;
thing.SetEntityName(entityName);
SetExtraInfo(String)
Links two entities (contacts/projects/sales/URLs) together.
Declaration
Void SetExtraInfo(String extraInfo)
Parameters
Type | Name | Description |
---|---|---|
String | extraInfo | Extrainfo for link. Use for information that does not have a primary key. |
Returns
Type | Description |
---|---|
Void |
Examples
NSLink thing;
String extraInfo;
thing.SetExtraInfo(extraInfo);
SetId(Integer)
Links two entities (contacts/projects/sales/URLs) together.
Declaration
Void SetId(Integer id)
Parameters
Type | Name | Description |
---|---|---|
Integer | id | ID of the entity the link points to (The destination/target entity primary key). |
Returns
Type | Description |
---|---|
Void |
Examples
NSLink thing;
Integer id;
thing.SetId(id);
SetLinkId(Integer)
Links two entities (contacts/projects/sales/URLs) together.
Declaration
Void SetLinkId(Integer linkId)
Parameters
Type | Name | Description |
---|---|---|
Integer | linkId | Primary key. |
Returns
Type | Description |
---|---|
Void |
Examples
NSLink thing;
Integer linkId;
thing.SetLinkId(linkId);