Click or drag to resize

OperationArgumentsGetUpdateArgs Method

Linkar Framework .NET (Core and Framework)


Compose the 3 items ( CUSTOMVARS, OPTIONS and INPUTDATA) of the Update operation.

Namespace: Linkar.Functions
Assembly: Linkar.Functions (in Linkar.Functions.dll) Version: 2.3.1
Syntax
public static string GetUpdateArgs(
	string filename,
	string records,
	UpdateOptions updateOptions,
	string customVars
)

Parameters

filename  String
Name of the file being updated.
records  String
Buffer of record data to update. Inside this string are the recordIds, the modified records, and the originalRecords. Use StringFunctions.ComposeUpdateBuffer (Linkar.Strings library) function to compose this string.
updateOptions  UpdateOptions
Object with write options, including optimisticLockControl, readAfter, calculated, dictionaries, conversion, formatSpec, originalRecords.
customVars  String
Free text sent to the database allows management of additional behaviours in SUB.LK.MAIN.CONTROL.CUSTOM, which is called when this parameter is set.

Return Value

String
A string ready to be used in Linkar.ExecuteDirectOperation and Linkar.ExecutePersistentOperation.
See Also