Class NSChangedData
Generic carrier, used in return values to indicate what data NetServer has changed 'behind the scenes' so clients can know what to update.
Syntax
Constructors
NSChangedData()
Initializes a new instance of the NSChangedData class.
Declaration
NSChangedData
Methods
GetAddedRecords()
Generic carrier, used in return values to indicate what data NetServer has changed 'behind the scenes' so clients can know what to update.
Declaration
NSChangedDataItem[] GetAddedRecords()
Returns
Type | Description |
---|---|
NSChangedDataItem[] | IDs of added records. |
Examples
NSChangedData thing;
NSChangedDataItem[] addedRecords = thing.GetAddedRecords();
GetDeletedRecords()
Generic carrier, used in return values to indicate what data NetServer has changed 'behind the scenes' so clients can know what to update.
Declaration
NSChangedDataItem[] GetDeletedRecords()
Returns
Type | Description |
---|---|
NSChangedDataItem[] | IDs of deleted records. |
Examples
NSChangedData thing;
NSChangedDataItem[] deletedRecords = thing.GetDeletedRecords();
GetUpdatedRecords()
Generic carrier, used in return values to indicate what data NetServer has changed 'behind the scenes' so clients can know what to update.
Declaration
NSChangedDataItem[] GetUpdatedRecords()
Returns
Type | Description |
---|---|
NSChangedDataItem[] | IDs of updated records. |
Examples
NSChangedData thing;
NSChangedDataItem[] updatedRecords = thing.GetUpdatedRecords();
SetAddedRecords(NSChangedDataItem[])
Generic carrier, used in return values to indicate what data NetServer has changed 'behind the scenes' so clients can know what to update.
Declaration
Void SetAddedRecords(NSChangedDataItem[] addedRecords)
Parameters
Type | Name | Description |
---|---|---|
NSChangedDataItem[] | addedRecords | IDs of added records. |
Returns
Type | Description |
---|---|
Void |
Examples
NSChangedData thing;
NSChangedDataItem[] addedRecords;
thing.SetAddedRecords(addedRecords);
SetDeletedRecords(NSChangedDataItem[])
Generic carrier, used in return values to indicate what data NetServer has changed 'behind the scenes' so clients can know what to update.
Declaration
Void SetDeletedRecords(NSChangedDataItem[] deletedRecords)
Parameters
Type | Name | Description |
---|---|---|
NSChangedDataItem[] | deletedRecords | IDs of deleted records. |
Returns
Type | Description |
---|---|
Void |
Examples
NSChangedData thing;
NSChangedDataItem[] deletedRecords;
thing.SetDeletedRecords(deletedRecords);
SetUpdatedRecords(NSChangedDataItem[])
IDs of updated records.
Declaration
Void SetUpdatedRecords(NSChangedDataItem[] updatedRecords)
Parameters
Type | Name | Description |
---|---|---|
NSChangedDataItem[] | updatedRecords | IDs of updated records. |
Returns
Type | Description |
---|---|
Void |
Examples
NSChangedData thing;
NSChangedDataItem[] updatedRecords;
thing.SetUpdatedRecords(updatedRecords);