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