IDwArgument Interface
.NET Standard 2.x
Represents an argument to be passed to the stored procedure.
Namespace: DWNet.Data
Assembly: DWNet.Data.dll
Implements
DWNet.Data.IDwReadOnlyArgument
Syntax
public interface IDwArgument : IDwReadOnlyArgument
Property
| Name | Return Type | Description |
|---|---|---|
| ColumnName | System.String | Gets or sets the name of the column where argument value will be taken from. It has the form: "tablename.column". |
| ComputeName | System.String | Gets or sets the name of the compute where argument value will be taken from. |
| Direction | System.Data.ParameterDirection | Gets or sets the type of stored procedure parameter. |
| Expression | IReadOnlyExpressionable<object> | Gets or sets the expression that is evaluated and passed to the stored procedure. |
| Name | System.String | Gets or sets the name of the argument. |
| Source | DwArgumentSource | Gets or sets the value source type. |
| UseOriginal | System.Boolean | Gets or sets 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 } )
Argnameis the name of the stored procedure parameter.Valuetypeis one of the keywords (COLUMN/COMPUTE/EXPRESSION/UNUSED).Datasrcandparamtypeapply to the COLUMN keyword.Valuesrcis 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.