| OperationArgumentsGetUpdateArgs Method |
Linkar Framework for .NET and Core
Compose the 3 items ( CUSTOMVARS, OPTIONS and INPUTDATA) of the Update operation.
Namespace: Linkar.FunctionsAssembly: Linkar.Functions (in Linkar.Functions.dll) Version: 2.3.1
Syntax public static string GetUpdateArgs(
string filename,
string records,
UpdateOptions updateOptions,
string customVars
)
Public Shared Function GetUpdateArgs (
filename As String,
records As String,
updateOptions As UpdateOptions,
customVars As String
) As String
public:
static String^ GetUpdateArgs(
String^ filename,
String^ records,
UpdateOptions^ updateOptions,
String^ customVars
)
static member GetUpdateArgs :
filename : string *
records : string *
updateOptions : UpdateOptions *
customVars : string -> string
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
StringA string ready to be used in Linkar.ExecuteDirectOperation and Linkar.ExecutePersistentOperation.
See Also