IDwReadOnlyArgument Interface
.NET Standard 2.x
Represents an argument to be passed to the stored procedure. All properties are read-only.
Namespace: DWNet.Data
Assembly: DWNet.Data.dll
Syntax
public interface IDwReadOnlyArgument
Property
Name | Return Type | Description |
---|---|---|
ColumnName | System.String | Gets the name of the column where argument value will be taken from. It has the form: "tablename.column" . |
ComputeName | System.String | Gets the name of the compute where argument value will be taken from. |
Direction | System.Data.ParameterDirection | Gets the type of stored procedure parameter. |
Expression | IReadOnlyExpressionable<object> | Gets the expression to be evaluated and passed to the stored procedure. |
Name | System.String | Gets the name of the argument. |
Source | DwArgumentSource | Gets the value source type. |
UseOriginal | System.Boolean | Gets a bool value indicating whether the data is the new or original column value. |
Remarks
In the DataWindow syntax, it is a string specifying the arguments used in the stored procedure.
The string takes this format: ("argname", valuetype { =("valuesrc" {, datasrc, paramtype } )
Argname
is the name of the stored procedure parameter.Valuetype
is one of the keywords (COLUMN/COMPUTE/EXPRESSION/UNUSED).Datasrc
andparamtype
apply to the COLUMN keyword.Valuesrc
is the column, computed field, or expression that produces the value to be passed to the stored procedure.Datasrc
: for COLUMN, you must also specify whether the data is the new or original column value.Paramtype
: you can also specify the type of stored procedure parameter.