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