| OperationArgumentsGetSelectArgs Method |
Linkar Framework for .NET and Core
Compose the 3 items (CUSTOMVARS, OPTIONS and INPUTDATA) of the Select operation.
Namespace: Linkar.FunctionsAssembly: Linkar.Functions (in Linkar.Functions.dll) Version: 2.3.1
Syntax public static string GetSelectArgs(
string filename,
string selectClause,
string sortClause,
string dictClause,
string preSelectClause,
SelectOptions selectOptions,
string customVars
)
Public Shared Function GetSelectArgs (
filename As String,
selectClause As String,
sortClause As String,
dictClause As String,
preSelectClause As String,
selectOptions As SelectOptions,
customVars As String
) As String
public:
static String^ GetSelectArgs(
String^ filename,
String^ selectClause,
String^ sortClause,
String^ dictClause,
String^ preSelectClause,
SelectOptions^ selectOptions,
String^ customVars
)
static member GetSelectArgs :
filename : string *
selectClause : string *
sortClause : string *
dictClause : string *
preSelectClause : string *
selectOptions : SelectOptions *
customVars : string -> string
Parameters
- filename String
- Name of file on which the operation is performed. For example LK.ORDERS
- selectClause String
- Statement fragment specifies the selection condition. For example WITH CUSTOMER = '1'
- sortClause String
- Statement fragment specifies the selection order. If there is a selection rule, Linkar will execute a SSELECT, otherwise Linkar will execute a SELECT. For example BY CUSTOMER
- dictClause String
- Space-delimited list of dictionaries to read. If this list is not set, all fields are returned. For example CUSTOMER DATE ITEM
- preSelectClause String
- An optional command that executes before the main Select
- selectOptions SelectOptions
- Object with options to manage how records are selected, including calculated, dictionaries, conversion, formatSpec, originalRecords, onlyItemId, pagination, regPage, numPage.
- 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