IModelGetter.GetItem<TValue>(string column, bool isOriginalValue = false) Method
.NET Standard 2.x
Gets the value of the specified column (by column name) 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>(string column, bool isOriginalValue = false);
Type Parameter
TValue
The data type of the value you want to get.
Parameters
column
System.String
The name of the column to get value.
isOriginalValue
System.Boolean
(Optional) Whether to get the original value.
True -- to get the original value;
False (false) -- 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