Click or drag to resize

OperationArgumentsGetDeleteArgs Method

Linkar Framework .NET (Core and Framework)


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

Namespace: Linkar.Functions
Assembly: Linkar.Functions (in Linkar.Functions.dll) Version: 2.3.1
Syntax
public static string GetDeleteArgs(
	string filename,
	string records,
	DeleteOptions deleteOptions,
	string customVars
)

Parameters

filename  String
The file name where the records are going to be deleted. DICT in case of deleting a record that belongs to a dictionary.
records  String
Buffer of records to be deleted. Use StringFunctions.ComposeDeleteBuffer (Linkar.Strings library) function to compose this string.
deleteOptions  DeleteOptions
Object with options to manage how records are deleted, including optimisticLockControl, recoverRecordIdType.
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