Class NSImportLine
Used to import data into the system. Representing one entity that will be imported.
Syntax
Constructors
NSImportLine()
Initializes a new instance of the NSImportLine class.
Declaration
NSImportLine
Methods
GetExternalKey()
Used to import data into the system. Representing one entity that will be imported.
Declaration
String GetExternalKey()
Returns
| Type | Description |
|---|---|
| String | Optional external primary key for the row. |
Examples
NSImportLine thing;
String externalKey = thing.GetExternalKey();
GetOperation()
Used to import data into the system. Representing one entity that will be imported.
Declaration
Integer GetOperation()
Returns
| Type | Description |
|---|---|
| Integer | Which operation will be used? This is a read-only property. See ImportAction. |
Examples
NSImportLine thing;
Integer operation = thing.GetOperation();
GetSelected()
Used to import data into the system. Representing one entity that will be imported.
Declaration
Bool GetSelected()
Returns
| Type | Description |
|---|---|
| Bool | True if the entity shall be imported, false if the entity shall be ignored. |
Examples
NSImportLine thing;
Bool selected = thing.GetSelected();
GetType()
Used to import data into the system. Representing one entity that will be imported.
Declaration
Integer GetType()
Returns
| Type | Description |
|---|---|
| Integer | Which entity type will be created? This is a read-only property. See ImportEntityType. |
Examples
NSImportLine thing;
Integer type = thing.GetType();
GetValues()
Used to import data into the system. Representing one entity that will be imported.
Declaration
String[] GetValues()
Returns
| Type | Description |
|---|---|
| String[] | An array of the values that will be imported on the entity. |
Examples
NSImportLine thing;
String[] values = thing.GetValues();
SetExternalKey(String)
Used to import data into the system. Representing one entity that will be imported.
Declaration
Void SetExternalKey(String externalKey)
Parameters
| Type | Name | Description |
|---|---|---|
| String | externalKey | Optional external primary key for the row. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSImportLine thing;
String externalKey;
thing.SetExternalKey(externalKey);
SetOperation(Integer)
Used to import data into the system. Representing one entity that will be imported.
Declaration
Void SetOperation(Integer operation)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | operation | Which operation will be used? This is a read-only property. See ImportAction. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSImportLine thing;
Integer operation;
thing.SetOperation(operation);
SetSelected(Bool)
Used to import data into the system. Representing one entity that will be imported.
Declaration
Void SetSelected(Bool selected)
Parameters
| Type | Name | Description |
|---|---|---|
| Bool | selected | True if the entity shall be imported, false if the entity shall be ignored. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSImportLine thing;
Bool selected;
thing.SetSelected(selected);
SetType(Integer)
Used to import data into the system. Representing one entity that will be imported.
Declaration
Void SetType(Integer type)
Parameters
| Type | Name | Description |
|---|---|---|
| Integer | type | Which entity type will be created? This is a read-only property. See ImportEntityType. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSImportLine thing;
Integer type;
thing.SetType(type);
SetValues(String[])
Used to import data into the system. Representing one entity that will be imported.
Declaration
Void SetValues(String[] values)
Parameters
| Type | Name | Description |
|---|---|---|
| String[] | values | An array of the values that will be imported on the entity. |
Returns
| Type | Description |
|---|---|
| Void |
Examples
NSImportLine thing;
String[] values;
thing.SetValues(values);