Skip to content

Commit

Permalink
#21 #23 - GetName(), GetValue() and DbParameter Support.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikependon committed Jan 16, 2021
1 parent 5b504fb commit f048670
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pages/classes/queryfield.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,16 @@ var operation = field.GetOperationText();

The value of the `operation` variable would be `>=`.

### DbParameter Property

This property is quitely important if you wish to get a reference to the associated `DbParameter` object on the current instance after the execution.

It is useful if you are retrieving a value of the output parameter from the database after the execution.

### GetValue Method

This method returns the value of the [Parameter](/class/parameter) object currently in used by the instance. However, if the current instance has already been used as a parameter to the execution where the `ParameterDirection` is either of the `Output/Input`, then, the value of the output parameter via `DbParameter` object is returned. This will happen usually if the current instance of this object is of type [DirectionalQueryField](/class/directionalqueryfield).

### Reusability

We sometimes have a scenario to reuse the instance of this class just to avoid creating the same expression.
Expand Down

0 comments on commit f048670

Please sign in to comment.