Click or drag to resize

OperationArgumentsGetNewArgs Method

Linkar Framework for .NET and Core


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

Namespace: Linkar.Functions
Assembly: Linkar.Functions (in Linkar.Functions.dll) Version: 2.3.1
Syntax
public static string GetNewArgs(
	string filename,
	string records,
	NewOptions newOptions,
	string customVars
)

Parameters

filename  String
The file name where the records are going to be created.
records  String
Buffer of records to write. Inside this string are the recordIds, and the records. Use StringFunctions.ComposeNewBuffer (Linkar.Strings library) function to compose this string.
newOptions  NewOptions
Object with write options for the new record(s), including recordIdType, 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