IGroupingGetter.GetItem<TValue>(short column, bool isOriginalValue = false) Method
.NET Standard 2.x
When the IsGroup property is false, gets the value of the specified column (by the column number) and converts this value to the specified data type. You can specify whether to get the original value. By default, the current value is taken.
Namespace: DWNet.Data
Assembly: DWNet.Data.dll
Syntax
TValue GetItem<TValue>(short column, bool isOriginalValue = false);
Type Parameter
TValue
The data type of the value you want to convert to.
Parameters
column System.Short
The zero-based column number to get value.
isOriginalValue System.Boolean
(Optional) Whether to get the original value.
True -- to get the original value;
False (default) -- to get the current value.
Returns
TValue
Returns the current value of the column if isOriginalValue is false; otherwise, returns the original value of the column.
Applies to
.NET Standard
2.x